diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-02-15 15:06:56 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-02-15 15:06:56 +0100 |
| commit | 0ed55f30954b5fb43ea68dc4e0e62266f7afbffb (patch) | |
| tree | d78ce62d7f8486e25ae88acdd4210939f91ed3a3 /Samples/HelloWorld | |
| parent | 43c175adeca183de03bba9d1a23811f18bb3918e (diff) | |
add CurrentLine and CurrentColumn to label, SetCursorPosition, reset HelloWorld
Diffstat (limited to 'Samples/HelloWorld')
| -rw-r--r-- | Samples/HelloWorld/ui/helloworld.crow | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/Samples/HelloWorld/ui/helloworld.crow b/Samples/HelloWorld/ui/helloworld.crow index b178bbf2..fe05d1e2 100644 --- a/Samples/HelloWorld/ui/helloworld.crow +++ b/Samples/HelloWorld/ui/helloworld.crow @@ -1,26 +1,2 @@ <?xml version="1.0"?> -<HorizontalStack > - <VerticalStack Background="Jet" Height="Stretched" Width="50%" Margin="10" > - <TextBox Margin="0" Text="Hello World this is a test string" Focusable="true" Font="serif,14"/> - <TextBox Margin="15" Text="Hello World this is a test string" Focusable="true" Font="serif,14" - Background="Grey" Focused="{Background=White}" Unfocused="{Background=Grey}"/> - <TextBox Width="300" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14" - Background="Grey" Focused="{Background=White}" Unfocused="{Background=Grey}"/> - <TextBox TextAlignment="Right" Width="300" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14" - Background="Grey" Focused="{Background=White}" Unfocused="{Background=Grey}"/> - <TextBox Name="lab" TextAlignment="Center" Width="Fit" Height="50" Text="Hello World this is a test string" Focusable="true" Font="serif,14" - Background="Grey" Focused="{Background=White}" Unfocused="{Background=Grey}"/> - </VerticalStack> - <VerticalStack Background="Jet" Height="Stretched" Margin="10"> - <TextBox Multiline="true" TextAlignment="{TextAlignment}" Width="320" Height="Fit" - Text="{MultilineText}" Focusable="true" Font="consolas,12" - Background="Grey" Focused="{Background=White}" Unfocused="{Background=Grey}"/> - <EnumSelector RadioButtonStyle="CheckBox2" Caption="Text Alignment" EnumValue="{²TextAlignment}" > - <Template> - <GroupBox Caption="{./Caption}" CornerRadius="{./CornerRadius}" Foreground="{./Foreground}" Background="{./Background}"> - <VerticalStack Name="Content"/> - </GroupBox> - </Template> - </EnumSelector> - </VerticalStack> -</HorizontalStack>
\ No newline at end of file +<Label Text="Hello World"/>
\ No newline at end of file |