aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/progress.crow
blob: b4086cd677ad3310f355d995e199c1a99fd93173 (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="{ProgressMessage}" Width="Stretched" Margin="3" Background="Transparent" Height="Fit"/>
			</Group>
		</Template>
	</ProgressBar>
</HorizontalStack>