aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/Button.tmp
blob: f3e6f22e2db8672097155a3e85c779186206e0d4 (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>