aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/gauge2.crow
blob: c5b94cab8ef0313f1a2a945c5b2873f4662d63e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HorizontalStack Margin="20" Background="Jet">
	<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"
			Minimum="0" Maximum="100" Value="50" Inverted="{../cb.IsChecked}"/>
		<CheckBox Name="cb" Caption="Inverted" />
	</VerticalStack>
	<Gauge Height="20" Width="200" Foreground="RoyalBlue" Background="DarkGrey" Margin="2" Value="{../slider.Value}"
		Inverted="{../cb.IsChecked}"  />
	<Gauge Height="200" Width="20" Foreground="RoyalBlue" Background="DarkGrey" Margin="2" Value="{../slider.Value}"
		Inverted="{../cb.IsChecked}" Orientation="Vertical" />

</HorizontalStack>