aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/randomProgress.crow
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-26 08:23:19 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-26 08:23:19 +0200
commitc706b713a716e8b7fd29508ccf88e5de5041d1d4 (patch)
treec71fcc73e4f28c9248eece7df8a2c70225cc498c /Samples/common/ui/Interfaces/Experimental/randomProgress.crow
parent942155da0d427b7c4f98fa91da390461b5f1dd9f (diff)
rename all 'GraphicObject' to 'Widget', move to netcoreapp3.0 for crow library to use LoadContext for native dll resolutionFileDialogImprove
Diffstat (limited to 'Samples/common/ui/Interfaces/Experimental/randomProgress.crow')
-rw-r--r--Samples/common/ui/Interfaces/Experimental/randomProgress.crow18
1 files changed, 18 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/Experimental/randomProgress.crow b/Samples/common/ui/Interfaces/Experimental/randomProgress.crow
new file mode 100644
index 00000000..9b63b81a
--- /dev/null
+++ b/Samples/common/ui/Interfaces/Experimental/randomProgress.crow
@@ -0,0 +1,18 @@
+<VerticalStack>
+ <VerticalStack Width="Fit" Background="DarkSlateGrey" Margin="10" Height="Fit">
+ <HorizontalStack Height="Fit" Spacing="10">
+ <Label Text="Value:"/>
+ <Label Text="{../../slider.Value}" Background="Onyx" Margin="1" Width="40" TextAlignment="Right"/>
+ </HorizontalStack>
+ <Slider Name="slider" Height="10" Width="200" Background="DarkGrey" LargeIncrement="20" SmallIncrement="5"
+ Minimum="10" Maximum="1000" Value="{²RandomProgressItemCount}"/>
+ </VerticalStack>
+ <ListBox UseLoadingThread="false" Data="{RandomProgressList}">
+ <Template>
+ <Wrapper Name="ItemsContainer"/>
+ </Template>
+ <ItemTemplate>
+ <ProgressBar Maximum="{Maximum}" Value="{Value}" Height="10" Width="50"/>
+ </ItemTemplate>
+ </ListBox>
+</VerticalStack> \ No newline at end of file