aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/testTextBox.crow
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-01-17 20:20:18 +0100
committerj-p <jp_bruyere@hotmail.com>2021-02-06 20:28:02 +0100
commitdaa8f8c106d1d8aaaf938ba74fbfadceb46c9a84 (patch)
tree0c8771bb31a8f3bc62e7bcbedc2fe67c837c2a36 /Samples/common/ui/Interfaces/Divers/testTextBox.crow
parent11a8c292f7e646b4a16e18a0c5c246e103ea7a36 (diff)
allocations in Point, Size, Fill => Span
Diffstat (limited to 'Samples/common/ui/Interfaces/Divers/testTextBox.crow')
-rw-r--r--Samples/common/ui/Interfaces/Divers/testTextBox.crow16
1 files changed, 1 insertions, 15 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/testTextBox.crow b/Samples/common/ui/Interfaces/Divers/testTextBox.crow
index d0fe0af4..f58e800e 100644
--- a/Samples/common/ui/Interfaces/Divers/testTextBox.crow
+++ b/Samples/common/ui/Interfaces/Divers/testTextBox.crow
@@ -1,25 +1,11 @@
<?xml version="1.0"?>
<VerticalStack Background="SteelBlue" Fit="true">
<HorizontalStack Fit="true">
- <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="TopLeft"/>
- <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Top"/>
- <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="TopRight"/>
<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" Height="30" Width="50" TextAlignment="BottomLeft"/>
- <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Bottom"/>
- <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="BottomRight"/>
</HorizontalStack>
- <HorizontalStack Fit="true">
- <TextBox Background="DarkGrey" Height="30" Width="70" TextAlignment="Top" HorizontalStretch="true" Text="TopStretch"/>
- <TextBox Background="DarkGrey" Height="30" Width="60" TextAlignment="Center" HorizontalStretch="true" Text="HorizontalStretch" />
- <TextBox Background="DarkGrey" Height="30" Width="60" TextAlignment="Bottom" HorizontalStretch="true" Text="BottomStretch"/>
- <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Left" VerticalStretch="true" Text="LeftStretch"/>
- <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Center" VerticalStretch="true" Text="VerticalStretch"/>
- <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Right" VerticalStretch="true" Text="RightStretch"/>
- <TextBox Background="DarkGrey" Height="30" Width="50" HorizontalStretch="true" VerticalStretch="true" Text="Fit"/>
- </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"/>