diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 16:56:39 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 16:56:39 +0100 |
| commit | 76edc3ce44583ee8160ea207dfeb17c4d6508e59 (patch) | |
| tree | 52fa14876f1d155b6beae946c459c5bae35a81c9 /Templates | |
| parent | 3cb3ae624a352b92b71a5d7cb19c05f0183f2e43 (diff) | |
expandable image visibility <= Expandable.HasContent property
Diffstat (limited to 'Templates')
| -rwxr-xr-x | Templates/Expandable.goml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Templates/Expandable.goml b/Templates/Expandable.goml index 2364eeb5..0174aa6d 100755 --- a/Templates/Expandable.goml +++ b/Templates/Expandable.goml @@ -3,7 +3,10 @@ MouseClick="../onMouseClick"> <VerticalStack Height="{../../HeightPolicy}" Width="{../../WidthPolicy}"> <HorizontalStack Spacing="1" Height="-1" Width="{../../../WidthPolicy}"> - <Image Margin="2" Width="12" Height="12" Path="{../../../../Image}" SvgSub="{../../../../IsExpanded}"/> + <Image Margin="2" Width="12" Height="12" + Visible="{../../../../HasContent}" + Path="{../../../../Image}" + SvgSub="{../../../../IsExpanded}"/> <Label Text="{../../../../Caption}" Width="{../../../../WidthPolicy}"/> </HorizontalStack> <Container Name="Content" Visible="false" |