diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-03-27 18:40:28 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-03-27 18:40:28 +0100 |
| commit | f441265e5159eb88fb2220bf1183c3d0547f29b4 (patch) | |
| tree | 27348712591433944cfd5ca4029cb2e4b576feb5 /Samples/common/ui/Interfaces/Divers/testTextBox.crow | |
| parent | d98cf86914ae8e7ed288b71b76061fb9c3b19516 (diff) | |
wip
Diffstat (limited to 'Samples/common/ui/Interfaces/Divers/testTextBox.crow')
| -rw-r--r-- | Samples/common/ui/Interfaces/Divers/testTextBox.crow | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/testTextBox.crow b/Samples/common/ui/Interfaces/Divers/testTextBox.crow index f58e800e..266eeebb 100644 --- a/Samples/common/ui/Interfaces/Divers/testTextBox.crow +++ b/Samples/common/ui/Interfaces/Divers/testTextBox.crow @@ -1,22 +1,20 @@ <?xml version="1.0"?> <VerticalStack Background="SteelBlue" Fit="true"> <HorizontalStack Fit="true"> - <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Left"/> - <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Center"/> - <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Right"/> + <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 Name="tb" Multiline="true" Font="droid,16" Margin="5" Text="A\nBB\nCCC\nDDDD"/> - <TextBox Multiline="true" Font="droid,16" Name="tb5" Margin="5" Text="{../tb.SelectedText}"/> -<!-- <TextBox Font="droid,10" Name="tb1" Margin="5" Text="this is a test of a text box"/> - <TextBox Width="300" Height="35" Text="this is a test of a text box"/>--> + <TextBox Text="A\nBB\nCCC\nDDDD" Focused="true" Name="tb" Multiline="true" Font="droid,16" Margin="5" /> + <TextBox Multiline="true" Font="droid,16" Name="tb5" Margin="5" Text="{../tb.Selection}"/> <TextBox Font="droid,10" Name="tb2" Margin="0" Text="this is a test of a text box"/> <TextBox Font="droid,10" Name="tb3" Margin="5" Text="this is a test of a text box"/> <TextBox Font="droid,10" Name="tb4" Margin="5" Text="this is a test of a text box"/> <TextBox Font="droid,10" Name="tb5" Margin="20" Text="this is a test of a text box"/> <TextBox Multiline="true" Font="droid,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="droid,10" Name="tb7" Margin="1" TextAlignment="Center" - Text="this is a test of a text box\nthis is a test\nthis is a test when line are centered"/> + Text="this is a test of a text boxthis is a test\nthis is a test when line are centered"/> <TextBox Multiline="true" Font="droid,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>
\ No newline at end of file |