]> O.S.I.I.S - jp/crow.git/commitdiff
binding expression corrections
authorjpbruyere <jp.bruyere@hotmail.com>
Wed, 21 Dec 2016 15:05:08 +0000 (16:05 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Wed, 21 Dec 2016 15:05:08 +0000 (16:05 +0100)
modifié :         Templates/ArrowButTemplate.crow
modifié :         Templates/Button.template
modifié :         Templates/Spinner.template
modifié :         Templates/treeList.crow

Templates/ArrowButTemplate.crow
Templates/Button.template
Templates/Spinner.template
Templates/treeList.crow

index fe0e122c7bb5d5dd3aad82f11533a2043b0d698c..817c00d19fafa5afb03680f977126d7c2eec8b36 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <Border Name="Content"
        Background="vgradient|0:White|0.1:LightGray|0.9:LightGray|1:Black" Foreground="DarkGray" 
-       Height="{../HeightPolicy}" Width="{../WidthPolicy}"
+       Height="{./HeightPolicy}" Width="{./WidthPolicy}"
        MouseEnter="{Foreground=White}"
        MouseLeave="{Foreground=DarkGray}"
        MouseDown="{Background=vgradient|0:Black|0.1:LightGray|0.9:LightGray|1:White}"
index 959ad8ccbc466d6eac6db89ba38aba360468cc0f..648c127b87d7764927b9eac0a2923bb8c9725ab1 100755 (executable)
@@ -1,11 +1,10 @@
 <?xml version="1.0"?>
 <Border Background="{./Background}" MinimumSize="50,20" Height="{./HeightPolicy}" Width="{./WidthPolicy}"
-               Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1"
+               Foreground="Transparent" CornerRadius="{./CornerRadius}" BorderWidth="1"
        MouseEnter="{Foreground=vgradient|0:White|0.2:Gray|0.9:Gray|1:Black;caption.Foreground=White}"
        MouseLeave="{Foreground=Transparent;caption.Foreground=LightGray}"
        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}"                  
        >
-<!--   <Image Height="0" Width="0" Margin="0" Path="{./Image}" SvgSub="{./SvgSub}"/>-->
        <Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGray" Text="{./Caption}"/>
 </Border>
\ No newline at end of file
index b07e17b3f6bb38feabd1b83c006aa09f3f1b2188..604c88a0aa731fbe6381ca79bdea21bf26de9a14 100755 (executable)
@@ -3,8 +3,8 @@
                Height="{./HeightPolicy}" Width="{./WidthPolicy}">
        <Border BorderWidth="1" Height="{./HeightPolicy}" Width="80%"  Background="White" 
                Foreground="DimGray" Margin="0">
-               <Label Foreground="DimGray" Height="{../../../HeightPolicy}" Width="Stretched"
-                       Text="{../../../Value}" TextAlignment="Right" Margin="0"/>
+               <Label Foreground="DimGray" Height="{./HeightPolicy}" Width="Stretched"
+                       Text="{./Value}" TextAlignment="Right" Margin="0"/>
        </Border>
        <VerticalStack MinimumSize="8,10" Width="20%" Height="Stretched" Spacing="0" Margin="0" Background="Red">
                <Button MouseRepeat="true" Width="Stretched" Height="50%" Margin="0" MouseClick="./onUp"
index 160f351a7475cce73a98139bbf9d1dccb3f3c89b..bc8cbcfb310c37e3e9f516ec532550d511db9d29 100755 (executable)
@@ -1,3 +1,3 @@
 <?xml version="1.0"?>
 <VerticalStack
-       Height="Fit" Width="{../WidthPolicy}" Name="ItemsContainer"/>
\ No newline at end of file
+       Height="Fit" Width="{./WidthPolicy}" Name="ItemsContainer"/>
\ No newline at end of file