aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-31 19:39:08 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-31 19:39:08 +0100
commit0bb8bc91f960611e229a7603779fd60e0473b0c5 (patch)
tree05b50065919979e2cb626bd67e760b911bee15ae /Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow
parent1e7bd19a110f925e7ca2a0475cf87551fed09a1a (diff)
totorials->tutorials, update to v0.9.8v0.9.8
Diffstat (limited to 'Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow')
-rw-r--r--Samples/common/ui/Interfaces/Tutorials/myNumericControlTest.crow16
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>