aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/Button.tmp
blob: 4fcdde1403db62ba2da1fd439bfd1b814f3fa78d (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0"?>
<Border Background="{./Background}" Name="Content" Width="Stretched" Height="Stretched"
	Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1"
	MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black};{caption.Foreground=White}"
	MouseLeave="{Foreground=Transparent};{caption.Foreground=LightGrey}"
	MouseDown="{Foreground=vgradient|0:Black|0.05:Grey|0.85:Grey|1:White}"
	MouseUp="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}"		    
	>
	<Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGrey" Text="{./Caption}"/>
</Border>