aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/HelloWorld/ui/helloworld.crow
blob: a9dad40cee05f1762af0afc239fb7b6c1dba37a0 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0"?>
<VerticalStack Margin="50" Spacing="20">
	<HorizontalStack Height="Fit">
		<Label Text="Hover:" Width="50" Foreground="Grey"/>
		<Label Text="{HoverWidget}" Font="mono, 8"/>
	</HorizontalStack>
	<HorizontalStack Height="Fit">
		<Label Text="Focus:" Width="50" Foreground="Grey"/>
		<Label Text="{FocusedWidget}" Font="mono, 8"/>
	</HorizontalStack>
	<HorizontalStack Height="Fit">
		<Label Text="Active:" Width="50" Foreground="Grey"/>
		<Label Text="{ActiveWidget}" Font="mono, 8"/>
	</HorizontalStack>
	<Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
			MouseEnter="{Background=Red}"
			MouseLeave="{Background=Blue}">
		<Label Margin="5" Text="Hello World" />
	</Border>
	<Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
			MouseEnter="{Background=Red}"
			MouseLeave="{Background=Blue}">
		<Label Margin="5" Text="Hello World" />
	</Border>
	<Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
			MouseEnter="{Background=Red}"
			MouseLeave="{Background=Blue}">
		<Label Margin="5" Text="Hello World" />
	</Border>
	<Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
			MouseEnter="{Background=Red}"
			MouseLeave="{Background=Blue}">
		<Label Margin="5" Text="Hello World" />
	</Border>
	<Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
			MouseEnter="{Background=Red}"
			MouseLeave="{Background=Blue}">
		<Label Margin="5" Text="Hello World" />
	</Border>
</VerticalStack>