aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/randomProgress.crow
diff options
context:
space:
mode:
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