aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/Spinner.tmp
blob: 825b095f74177f1c18ea50e7b875c0b6a4d0060f (plain)
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0"?>
<Border Style="ControlBorder" Background="{./Background}" CornerRadius="{./CornerRadius}">
	<HorizontalStack Spacing="1">
		<TextBox Style="ControlEditableText" Foreground="{./Foreground}" Font="{./Font}" Width="Stretched"
			Text="{²./Value}" TextAlignment="Right" />
		<VerticalStack Width="16" Height="Stretched" Spacing="0" Margin="0">
			<Shape KeepProportions="false" Margin="1" Style="ArrowBut" Height="50%" MouseDown="./onUp" Size="10,10" Path="M 4.5,0.5 L 9.5,9.5 L 0.5,9.5 Z F"/>
			<Shape KeepProportions="false" Margin="1" Style="ArrowBut"	Height="50%" MouseDown="./onDown" Size="10,10" Path="M 0.5,0.5 L 9.5,0.5 L 4.5,9.5 Z F"/>
		</VerticalStack>
	</HorizontalStack>
</Border>