diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-06-06 13:40:54 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-06-06 13:40:54 +0200 |
| commit | c928fc85cd1faed7273722f99b2a1edd9de14299 (patch) | |
| tree | f9344290fb876906205f9d8ab4b401ec3d040250 /Samples/ShowCase/ui/Button.template | |
| parent | d88c47659d248dbf5b4ec2b071906fafe013011e (diff) | |
slider as base for scrollbar, gauge widget
Diffstat (limited to 'Samples/ShowCase/ui/Button.template')
| -rw-r--r-- | Samples/ShowCase/ui/Button.template | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Samples/ShowCase/ui/Button.template b/Samples/ShowCase/ui/Button.template new file mode 100644 index 00000000..c7e2fa06 --- /dev/null +++ b/Samples/ShowCase/ui/Button.template @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<Border Background="{./Background}" MinimumSize="50,20" Name="Content" + 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}"> + <HorizontalStack Margin="2"> + <Image Style="Icon" Path="{./Icon}"/> + <Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGrey" Text="{./Caption}"/> + </HorizontalStack> +</Border>
\ No newline at end of file |