]> O.S.I.I.S - jp/crow.git/commitdiff
button clean
authorjp <jp_bruyere@hotmail.com>
Wed, 3 Feb 2016 02:09:15 +0000 (03:09 +0100)
committerjp <jp_bruyere@hotmail.com>
Wed, 3 Feb 2016 02:09:15 +0000 (03:09 +0100)
Templates/Button.crow

index 9e6e541ca733de07cc2ddd87191b7189496ab8e3..54788a1dd7cd30f6d98ef93cef6eaa3fb979564a 100755 (executable)
@@ -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