aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/GraphicObject/label.crow
blob: ad47ccf722bb3e5d0b71bfc4addd4a1c9c59a8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>