aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Button.crow
blob: 76d5dd8e7946450129e65eac142f4fe8e488d7c8 (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=DimGray}"
	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="DimGray" Text="{../../Caption}"/>
</Border>