aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/Expandable.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/Expandable.template')
-rwxr-xr-xTemplates/Expandable.template12
1 files changed, 5 insertions, 7 deletions
diff --git a/Templates/Expandable.template b/Templates/Expandable.template
index 14a59dd9..acae6d81 100755
--- a/Templates/Expandable.template
+++ b/Templates/Expandable.template
@@ -1,15 +1,13 @@
<?xml version="1.0"?>
-<Border BorderWidth="1" Foreground="{./Foreground}" Background="{./Background}"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <HorizontalStack Spacing="1" Height="Fit" Width="{./WidthPolicy}">
+<Border BorderWidth="1" Foreground="{./Foreground}" Background="{./Background}">
+ <VerticalStack>
+ <HorizontalStack Spacing="1" Height="Fit">
<Image Style="Icon" Margin="2"
Visible="{./HasContent}"
Path="{./Image}"
SvgSub="{./IsExpanded}"/>
- <Label Text="{./Caption}" Width="{./WidthPolicy}"/>
+ <Label Text="{./Caption}"/>
</HorizontalStack>
- <Container Name="Content" Visible="false"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}"/>
+ <Container Name="Content" Visible="false"/>
</VerticalStack>
</Border> \ No newline at end of file