diff options
| author | jp <jp_bruyere@hotmail.com> | 2016-02-03 03:09:15 +0100 |
|---|---|---|
| committer | jp <jp_bruyere@hotmail.com> | 2016-02-03 03:09:15 +0100 |
| commit | 577c18f51074b5c4f343bade99dc0776e0fcb72d (patch) | |
| tree | 82f297e704422992bf64e572d54622c157fb5586 | |
| parent | a67f75ce60852fbca31f4166353e7caf695172b6 (diff) | |
button clean
| -rwxr-xr-x | Templates/Button.crow | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Templates/Button.crow b/Templates/Button.crow index 9e6e541c..54788a1d 100755 --- a/Templates/Button.crow +++ b/Templates/Button.crow @@ -1,19 +1,11 @@ <?xml version="1.0"?> -<!--<HorizontalStack Spacing="1" Height="100" Width="300"> - <Image Margin="2" Width="14" Height="14" Path="{../../Image}" SvgSub="{../../SvgSub}"/> - <Label Text="{../../Caption}" Height="80" Width="200"/> -</HorizontalStack>--> -<Border Fit="True" Background="Gray" MinimumSize="50;20" +<Border Background="Gray" MinimumSize="50;20" Height="{../TemplatedHeight}" Width="{../TemplatedWidth}" Foreground="Transparent" CornerRadius="3" BorderWidth="1" MouseEnter="{Foreground=vgradient|0:White|0,2:Gray|0,9:Gray|1:Black;caption.Foreground=White}" MouseLeave="{Foreground=Transparent;caption.Foreground=Black}" 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}" > -<!-- - MouseDown="{Background=vgradient|0:Black|0,1:Gray|0,9:Gray|1:White}" - MouseUp="{Background=vgradient|0:White|0,1:Gray|0,9:Gray|1:Black}" ---> <!-- <Image Height="0" Width="0" Margin="0" Path="{../../Image}" SvgSub="{../../SvgSub}"/>--> - <Label Name="caption" Margin="5" Foreground="Black" Text="{../../Caption}"/> + <Label Font="{../../Font}" Name="caption" Margin="5" Foreground="Black" Text="{../../Caption}"/> </Border>
\ No newline at end of file |