aboutsummaryrefslogtreecommitdiff
path: root/V3/Widgets/Label.cs
diff options
context:
space:
mode:
Diffstat (limited to 'V3/Widgets/Label.cs')
-rw-r--r--V3/Widgets/Label.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/V3/Widgets/Label.cs b/V3/Widgets/Label.cs
new file mode 100644
index 0000000..6b60d4b
--- /dev/null
+++ b/V3/Widgets/Label.cs
@@ -0,0 +1,14 @@
+using Microsoft.Xna.Framework.Content;
+
+namespace V3.Widgets
+{
+ // ReSharper disable once ClassNeverInstantiated.Global
+ public sealed class Label : AbstractTextWidget
+ {
+ public Label(ContentManager contentManager) : base(contentManager)
+ {
+ HorizontalOrientation = HorizontalOrientation.Left;
+ PaddingX = 20;
+ }
+ }
+}