aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/testTextBox.crow
blob: 07156f269e0082743369a71b0182531d0d9c044e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<VerticalStack Background="SteelBlue" Fit="true">
	<HorizontalStack Fit="true">
		<TextBox Background="DarkGrey" Width="50" TextAlignment="Left" Foreground="White"/>
		<TextBox Background="DarkGrey" Width="50" TextAlignment="Center" Foreground="White"/>
		<TextBox Background="DarkGrey" Width="50" TextAlignment="Right" Foreground="White"/>
	</HorizontalStack>
	
	<TextBox Text="A\nBB\nCCC\nDDDD" Focused="true" Name="tb" Multiline="true" Font="mono,16" Margin="5" />
	<TextBox Multiline="true" Font="mono,16" Name="tb5" Margin="5" Text="{../tb.Selection}"/>
	<TextBox Font="mono,10" Name="tb2" Margin="0" Text="this is a test of a text box"/>
	<TextBox Font="mono,10" Name="tb3" Margin="5" Text="this is a test of a text box"/>
	<TextBox Font="mono,10" Name="tb4" Margin="5" Text="this is a test of a text box"/>
	<TextBox Font="mono,10" Name="tb5" Margin="20" Text="this is a test of a text box"/>
	<TextBox Multiline="true" Font="mono,10" Name="tb6" Margin="5" Text="this is a test of a text box\nthis is a test of a text box"/>
	<TextBox Multiline="true" Font="mono,10" Name="tb7" Margin="1" TextAlignment="Center"
		Text="this is a test of a text boxthis is a test\nthis is a test when line are centered"/>
	<TextBox Multiline="true" Font="mono,10" Name="tb8" Margin="1" TextAlignment="Center"
		Text="this is a test of a text box\n\n\nthis is a test\nthis is a test when line are centered"/>
</VerticalStack>