aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ScrollBar.goml
blob: ffcc121e0db3f50fc4a46ef0a7b787fa609d19b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<Border BorderWidth="1" Foreground="LightGray" Width="{../WidthPolicy}" Height="{../HeightPolicy}">
	<GenericStack Orientation="{../../Orientation}" Spacing="0"
		Width="{../../WidthPolicy}" Height="{../../HeightPolicy}">
		<Button MouseRepeat="true" Width="12" Height="12" MouseClick="../../../onScrollBack"
			Template="#Crow.Templates.ArrowButTemplate.crow">
			<Image Margin="1" Path="#Crow.Images.Icons.updown.svg" SvgSub="up"/>
		</Button>
		<Slider Name="Slider"
			Orientation="{../../../Orientation}"
			Value="{../../../Value}"
			Maximum="{../../../Maximum}"
			LargeIncrement="{../../../LargeIncrement}"
			SmallIncrement="{../../../SmallIncrement}"
			Background="hgradient|0:DimGray|0,1:Gray|0,95:Gray|1:White"
			Width="{../../../WidthPolicy}" Height="{../../../HeightPolicy}"
			ValueChanged="../../../onSliderValueChange"/>
		<Button MouseRepeat="true" Width="12" Height="12" MouseClick="../../../onScrollForth"
			Template="#Crow.Templates.ArrowButTemplate.crow">
			<Image Margin="1" Path="#Crow.Images.Icons.updown.svg" SvgSub="down"/>
		</Button>
	</GenericStack>
</Border>