aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Button.crow
blob: 7d128f7544b714151c2ba569ab6257d1b6530c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0"?>
<Border Background="{../Background}" MinimumSize="50;20" Height="{../HeightPolicy}" Width="{../WidthPolicy}"
		Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1" 
	MouseEnter="{Foreground=vgradient|0:White|0,2:Gray|0,9:Gray|1:Black;caption.Foreground=White}"
	MouseLeave="{Foreground=Transparent;caption.Foreground=LightGray}"
	MouseDown="{Foreground=vgradient|0:Black|0,05:Gray|0,85:Gray|1:White}"
	MouseUp="{Foreground=vgradient|0:White|0,2:Gray|0,9:Gray|1:Black}"		    
	>
<!--	<Image Height="0" Width="0" Margin="0" Path="{../../Image}" SvgSub="{../../SvgSub}"/>-->
	<Label Font="{../../Font}" Name="caption" Margin="5" Foreground="LightGray" Text="{../../Caption}"/>
</Border>