aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common/ui')
-rw-r--r--Samples/common/ui/Interfaces/GraphicObject/label.crow26
1 files changed, 26 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/GraphicObject/label.crow b/Samples/common/ui/Interfaces/GraphicObject/label.crow
new file mode 100644
index 00000000..ad47ccf7
--- /dev/null
+++ b/Samples/common/ui/Interfaces/GraphicObject/label.crow
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<HorizontalStack >
+ <VerticalStack Background="Jet" Height="Stretched" Width="50%" Margin="10" >
+ <Label Margin="0" Text="Hello World this is a test string" Focusable="true" Font="serif,14"/>
+ <Label Margin="15" Background="DarkGrey" Text="Hello World this is a test string" Focusable="true" Font="serif,14"
+ Focused="{Background=Onyx}" Unfocused="{Background=DarkGrey}"/>
+ <Label Background="DarkGrey" Width="300" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14"
+ Focused="{Background=Onyx}" Unfocused="{Background=DarkGrey}"/>
+ <Label TextAlignment="Right" Background="DarkGrey" Width="300" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14"
+ Focused="{Background=Onyx}" Unfocused="{Background=DarkGrey}"/>
+ <Label Name="lab" TextAlignment="Center" Background="DarkGrey" Width="Fit" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14"
+ Focused="{Background=Onyx}" Unfocused="{Background=DarkGrey}"/>
+ </VerticalStack>
+ <VerticalStack Background="Jet" Height="Stretched" Margin="10">
+ <Label Multiline="true" TextAlignment="{TextAlignment}" Background="DarkGrey" Width="Fit" Height="Fit"
+ Text="{MultilineText}" Focusable="true" Font="consolas,14"
+ Focused="{Background=Onyx}" Unfocused="{Background=DarkGrey}"/>
+ <EnumSelector RadioButtonStyle="CheckBox2" Caption="Text Alignment" EnumValue="{²TextAlignment}" >
+ <Template>
+ <GroupBox Caption="{./Caption}" CornerRadius="{./CornerRadius}" Foreground="{./Foreground}" Background="{./Background}">
+ <VerticalStack Name="Content"/>
+ </GroupBox>
+ </Template>
+ </EnumSelector>
+ </VerticalStack>
+</HorizontalStack> \ No newline at end of file