diff options
Diffstat (limited to 'Templates/Window.template')
| -rwxr-xr-x | Templates/Window.template | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Templates/Window.template b/Templates/Window.template index 6b3932c1..bbd1e57a 100755 --- a/Templates/Window.template +++ b/Templates/Window.template @@ -1,17 +1,16 @@ <?xml version="1.0"?> <Border BorderWidth="1" Foreground="White" CornerRadius="{./CornerRadius}" Background="{./Background}" - Height="{./HeightPolicy}" Width="{./WidthPolicy}" MouseEnter="./onBorderMouseEnter" MouseLeave="./onBorderMouseLeave"> - <VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}" Spacing="0"> + <VerticalStack Spacing="0"> <!-- <Border Name="TitleBar" BorderWidth="1" Foreground="White" Width="{./WidthPolicy}" Height="Fit" Background="vgradient|0:0.4,0.6,0.0,0.5|1:0.0,0.8,0.8,0.9">--> <HorizontalStack Background="vgradient|0:0.4,0.6,0.0,0.5|1:0.0,0.8,0.8,0.9" - Name="hs" Margin="2" Spacing="0" Width="{./WidthPolicy}" Height="Fit"> + Name="hs" Margin="2" Spacing="0" Height="Fit"> <GraphicObject Width="5"/> <Image Margin="1" Width="12" Height="12" Path="{./Icon}"/> - <Label Foreground="White" Width="{./WidthPolicy}" Margin="1" TextAlignment="Center" Text="{./Title}" /> + <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Center" Text="{./Title}" /> <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="12" Width="12" MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}"> <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Images.Icons.exit2.svg" @@ -20,6 +19,6 @@ <GraphicObject Width="5"/> </HorizontalStack> <!-- </Border>--> - <Container Name="Content" MinimumSize="50,50" Height="{./HeightPolicy}" Width="{./WidthPolicy}" Background="0.5,0.5,0.5,0.5"/> + <Container Name="Content" MinimumSize="50,50" Background="0.5,0.5,0.5,0.5"/> </VerticalStack> </Border>
\ No newline at end of file |