aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Spinner.template
blob: 60d7ccf9eba299a8fcf6751ef4674cca6f0afb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?>
<HorizontalStack MinimumSize="40,13" Name="hstack" Margin="0" Spacing="0">
	<Border BorderWidth="1" Width="75%"  Background="White" 
		Foreground="{./Foreground}" Margin="0">
		<TextBox Foreground="{./Foreground}" Font="{./Font}" Width="Stretched"
			Text="{²./Value}" TextAlignment="Right" Margin="0"/>
	</Border>
	<VerticalStack MinimumSize="13,13" Width="25%" Height="Stretched" Spacing="0" Margin="0">
		<Shape Style="ArrowBut"	Height="50%" MouseDown="./onUp" Path="M 5.5,0.5 L 10.5,6.5 L 0.5,6.5 Z"/>			
		<Shape Style="ArrowBut"	Height="50%" MouseDown="./onDown" Path="M 0.5,0.5 L 10.5,0.5 L 5.5,6.5 Z"/>			
	</VerticalStack>
</HorizontalStack>