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