aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/GroupBox.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/GroupBox.template')
-rwxr-xr-xTemplates/GroupBox.template15
1 files changed, 6 insertions, 9 deletions
diff --git a/Templates/GroupBox.template b/Templates/GroupBox.template
index 4e70ceae..199cfe9b 100755
--- a/Templates/GroupBox.template
+++ b/Templates/GroupBox.template
@@ -1,13 +1,10 @@
<?xml version="1.0"?>
-<Container Background="{./Background}" Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <Group Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <VerticalStack Spacing="0"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <GraphicObject Height="6" Width="{./WidthPolicy}"/>
- <Border CornerRadius="5" BorderWidth="1" Margin="10" Foreground="{./Foreground}"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <Container Name="Content" Margin="0" MinimumSize="70,10"
- Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"/>
+<Container Background="{./Background}">
+ <Group>
+ <VerticalStack Spacing="0">
+ <GraphicObject Height="6"/>
+ <Border CornerRadius="5" BorderWidth="1" Margin="10" Foreground="{./Foreground}">
+ <Container Name="Content" Margin="0" MinimumSize="70,10"/>
</Border>
</VerticalStack>
<Label Text="{./Caption}" VerticalAlignment="Top" Left="8"