aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ScrollBar.template
blob: 3c67bfa7b8db26c375f64bfe15785dbeef433a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<Border BorderWidth="1" Foreground="Jet">
	<GenericStack Orientation="{./Orientation}" Spacing="0">
		<Shape Style="ArrowBut"	MouseDown="./onScrollBack" Path="M 5.5,0.5 L 10.5,10.5 L 0.5,10.5 Z"/>
		<Slider Name="Slider"			
			Orientation="{./Orientation}"
			Value="{²./Value}"
			Maximum="{./Maximum}"
			CursorSize="{./CursorSize}"
			Height="{./HeightPolicy}" Width="{./WidthPolicy}"
			LargeIncrement="{./LargeIncrement}"
			SmallIncrement="{./SmallIncrement}"
			CursorColor="hgradient|0:Gray|1:Jet"
			Foreground="Jet"
			Background="hgradient|0:DimGray|0.1:Gray|0.95:Gray|1:White"/>
		<Shape Style="ArrowBut"	MouseDown="./onScrollForth" Path="M 0.5,0.5 L 10.5,0.5 L 5.5,10.5 Z"/>
	</GenericStack>
</Border>