diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-02 11:14:33 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-02 11:14:33 +0100 |
| commit | 7fe5cc0563fa79df34c2b8fe5ca6283de7555b75 (patch) | |
| tree | 3d8eb4a871808e468a2999278939ce6ed8255729 /Tests/Interfaces/testTextBox.crow | |
| parent | a05237cad3a83ce89675ae5296eb416c7bba4ce0 (diff) | |
test stretched text, debug
Diffstat (limited to 'Tests/Interfaces/testTextBox.crow')
| -rwxr-xr-x | Tests/Interfaces/testTextBox.crow | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Tests/Interfaces/testTextBox.crow b/Tests/Interfaces/testTextBox.crow index 9e628099..9623284f 100755 --- a/Tests/Interfaces/testTextBox.crow +++ b/Tests/Interfaces/testTextBox.crow @@ -1,5 +1,25 @@ <?xml version="1.0"?> -<VerticalStack Background="Red" Width="-1" Height="-1"> +<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="TopRight"/> + <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="LeftCenter"/> + <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="BottomLeft"/> + <TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomCenter"/> + <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"/> + </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"/> |