diff options
Diffstat (limited to 'Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow')
| -rw-r--r-- | Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow | 16 |
1 files changed, 16 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> |