aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/randomProgress.crow
blob: ae78a76a0284bc36af0bf12d1ad469b5febf5faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<VerticalStack>
	<VerticalStack Width="Fit" Background="DarkSlateGrey" Margin="10" Height="Fit">
		<HorizontalStack Height="Fit" Spacing="10">
			<Label Text="Value:"/>
			<Spinner Name="slider" Width="100" Background="DarkGrey" LargeIncrement="20" SmallIncrement="5"
				Minimum="10" Maximum="1000" Value="{²RandomProgressItemCount}"/>
		</HorizontalStack>
	</VerticalStack>
	<ListBox UseLoadingThread="false" Data="{RandomProgressList}">
		<Template>
			<Wrapper Name="ItemsContainer"/>
		</Template>
		<ItemTemplate>
			<ProgressBar Maximum="{Maximum}" Value="{Value}" Height="10" Width="50"/>
		</ItemTemplate>
	</ListBox>
</VerticalStack>