diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-06-02 14:22:07 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-06-02 14:22:07 +0200 |
| commit | d24de9fd3ec73108802816e8d894ae25984df8ac (patch) | |
| tree | f0be437e17ed6eb8cf4fa674cffdc8e16df921db /Samples/common/ui/Interfaces/TemplatedControl | |
| parent | 1297957606b5753bcf4ed39ee7968d008f873171 (diff) | |
add style as parameter to widget ctor
Diffstat (limited to 'Samples/common/ui/Interfaces/TemplatedControl')
| -rw-r--r-- | Samples/common/ui/Interfaces/TemplatedControl/testSpinner.crow | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Samples/common/ui/Interfaces/TemplatedControl/testSpinner.crow b/Samples/common/ui/Interfaces/TemplatedControl/testSpinner.crow index 89cd472e..f0271855 100644 --- a/Samples/common/ui/Interfaces/TemplatedControl/testSpinner.crow +++ b/Samples/common/ui/Interfaces/TemplatedControl/testSpinner.crow @@ -1,12 +1,20 @@ <?xml version="1.0"?> -<VerticalStack Name="TopContainer" Width="400" Height="Fit" - Margin="20" Background="DarkGrey"> +<VerticalStack Name="TopContainer" Margin="100" Background="DarkGrey" Spacing="10"> <Spinner/> <Spinner Width="Fit"/> <Spinner Width="120"/> - <HorizontalStack Fit="true" Margin="5" Background="SkyBlue"> + <HorizontalStack Fit="true" Margin="5" Background="DarkSlateGrey"> <Spinner Name="sp1" Value="5" ValueChanged="onSpinnerValueChange"/> - <Spinner Value="5" Width="60"/> + <Spinner Value="5" Width="80"/> <Spinner Value="5"/> </HorizontalStack> + <Widget Width="200" Height="20" Background="Teal"/> + <Widget Width="200" Height="20" Background="SeaGreen"/> + <Widget Width="200" Height="20" Background="MediumSeaGreen"/> + <Widget Width="200" Height="20" Background="DarkSlateGrey"/> + <Widget Width="200" Height="20" Background="RoyalBlue"/> + <Widget Width="200" Height="20" Background="SteelBlue"/> + <Widget Width="200" Height="20" Background="CornflowerBlue"/> + <Widget Width="200" Height="20" Background="Brown"/> + <Widget Width="200" Height="20" Background="FireBrick"/> </VerticalStack>
\ No newline at end of file |