aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Spinner.goml
blob: b8fbf8321f222307f4196c3dd3c2c0e99c3d7320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<Border BorderWidth="1" Height="{../HeightPolicy}" Width="{../WidthPolicy}"
	Foreground="Gray"
	Background="White">
	<HorizontalStack Name="hstack" Margin="0" Spacing="2" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
		<Label Foreground="DimGray" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}" 
			Text="{../../../Value}" Margin="1" TextAlignment="Right"/>
		<VerticalStack Width="-1" Height="{../../../HeightPolicy}" Spacing="0" >
			<Button MouseRepeat="true" Width="12" Height="8" MouseClick="../../../../onUp"
				Template="#Crow.Templates.ArrowButTemplate.crow">
				<Image Margin="1" Path="#Crow.Images.Icons.updown.svg" SvgSub="up"/>
			</Button>
				
			<Button MouseRepeat="true" Width="12" Height="8" MouseClick="../../../../onDown" 
				Template="#Crow.Templates.ArrowButTemplate.crow">
				<Image Margin="1" Path="#Crow.Images.Icons.updown.svg" SvgSub="down"/>
			</Button>
		</VerticalStack>
	</HorizontalStack>
</Border>