aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/testTextBox.crow
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-08 17:26:51 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-08 17:26:51 +0100
commited620f42c980270a69ebc346bdc40b79861c057c (patch)
treed5e0ea8f2790e51ccdfd71710b66630749c1cb8d /Tests/Interfaces/testTextBox.crow
parent9dd647069f3fe6234d360242617a1cb59b62d5cb (diff)
Simplify Alignment Enum; add HorizontalStretch and VerticalStretch to GraphicObject
Diffstat (limited to 'Tests/Interfaces/testTextBox.crow')
-rwxr-xr-xTests/Interfaces/testTextBox.crow22
1 files changed, 11 insertions, 11 deletions
diff --git a/Tests/Interfaces/testTextBox.crow b/Tests/Interfaces/testTextBox.crow
index 9623284f..8a98ff84 100755
--- a/Tests/Interfaces/testTextBox.crow
+++ b/Tests/Interfaces/testTextBox.crow
@@ -2,23 +2,23 @@
<VerticalStack Background="SteelBlue" Fit="true">
<HorizontalStack Fit="true">
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopLeft"/>
- <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopCenter"/>
+ <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Top"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopRight"/>
- <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="LeftCenter"/>
+ <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Left"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Center"/>
- <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="RightCenter"/>
+ <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Right"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomLeft"/>
- <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomCenter"/>
+ <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Bottom"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomRight"/>
</HorizontalStack>
<HorizontalStack Fit="true">
- <TextBox Background="DarkGray" Height="30" Width="70" TextAlignment="TopStretch" Text="TopStretch"/>
- <TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="HorizontalStretch" Text="HorizontalStretch" />
- <TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="BottomStretch" Text="BottomStretch"/>
- <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="LeftStretch" Text="LeftStretch"/>
- <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="VerticalStretch" Text="VerticalStretch"/>
- <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="RightStretch" Text="RightStretch"/>
- <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Fit" Text="Fit"/>
+ <TextBox Background="DarkGray" Height="30" Width="70" TextAlignment="Top" HorizontalStretch="true" Text="TopStretch"/>
+ <TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="Center" HorizontalStretch="true" Text="HorizontalStretch" />
+ <TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="Bottom" HorizontalStretch="true" Text="BottomStretch"/>
+ <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="Left" VerticalStretch="true" Text="LeftStretch"/>
+ <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="Center" VerticalStretch="true" Text="VerticalStretch"/>
+ <TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="Right" VerticalStretch="true" Text="RightStretch"/>
+ <TextBox Background="DarkGray" 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}"/>