aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/progress.crow
blob: 761a04c43ff36cd6f577b8ef7837c51eb971d71c (plain)
1
2
3
4
5
6
7
8
9
10
11
<HorizontalStack Margin="0" Height="Fit" Visible="{ProgressVisible}">
	<ProgressBar Value="50" Maximum="100" Caption="Progress caption" Width="Stretched" Height="Fit">
		<Template>
			<Group>
				<Gauge Background="DarkGrey" Foreground="RoyalBlue" Height="Stretched"
						Orientation="{./Orientation}" Minimum="{./Minimum}" Maximum="{./Maximum}" Value="{./Value}"/>
				<Label Foreground="White" Text="{./Caption}" Width="Stretched" Margin="3" Background="Transparent" Height="Fit"/>
			</Group>
		</Template>
	</ProgressBar>
</HorizontalStack>