diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-10-31 19:39:08 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-10-31 19:39:08 +0100 |
| commit | 0bb8bc91f960611e229a7603779fd60e0473b0c5 (patch) | |
| tree | 05b50065919979e2cb626bd67e760b911bee15ae /Samples/common/ui/Interfaces/Tutorials | |
| parent | 1e7bd19a110f925e7ca2a0475cf87551fed09a1a (diff) | |
totorials->tutorials, update to v0.9.8v0.9.8
Diffstat (limited to 'Samples/common/ui/Interfaces/Tutorials')
| -rw-r--r-- | Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow | 16 | ||||
| -rw-r--r-- | Samples/common/ui/Interfaces/Tutorials/testWidget.crow | 3 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow b/Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow new file mode 100644 index 00000000..fda9f400 --- /dev/null +++ b/Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow @@ -0,0 +1,16 @@ +<MyNumericControl Minimum="0" Maximum="100" Value="50" Background="Jet" > + <Template> + <VerticalStack Spacing="20" Height="Fit" Width="80%" Background="{./Background}" Margin="20"> + <HorizontalStack Spacing="5" Fit="true"> + <Label Text="min:"/> + <TextBox Text="{²./Minimum}" Width="60" TextAlignment="Right"/> + <Label Text="val:"/> + <TextBox Text="{²./Value}" Width="60" TextAlignment="Right"/> + <Label Text="max:"/> + <TextBox Text="{²./Maximum}" Width="60" TextAlignment="Right" /> + </HorizontalStack> + <Gauge Height="20" Minimum="{./Minimum}" Maximum="{./Maximum}" Value="{²./Value}" + Background="DarkGrey" Margin="5" Foreground="CornflowerBlue"/> + </VerticalStack> + </Template> +</MyNumericControl> diff --git a/Samples/common/ui/Interfaces/Tutorials/testWidget.crow b/Samples/common/ui/Interfaces/Tutorials/testWidget.crow new file mode 100644 index 00000000..2bd2c7ac --- /dev/null +++ b/Samples/common/ui/Interfaces/Tutorials/testWidget.crow @@ -0,0 +1,3 @@ +<Container Margin="50" Background="SteelBlue" > + <TestWidget Background="DarkGrey" Margin="20"/> +</Container>
\ No newline at end of file |