fix(layout): clip main body to rounded bottom corners

This commit is contained in:
Meik
2026-03-05 16:40:26 +01:00
parent abd179a7e6
commit a6358d581e
3 changed files with 45 additions and 10 deletions

View File

@@ -492,13 +492,17 @@
</Border.Background>
</Border>
</Grid>
<StackPanel Orientation="Horizontal"
Width="500"
Height="576"
ClipToBounds="True"
x:Name="btnSP"
HorizontalAlignment="Left">
<Canvas ClipToBounds="True"
<Grid Width="500"
Height="576"
ClipToBounds="True"
x:Name="btnSP"
HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="75" />
<ColumnDefinition Width="425" />
</Grid.ColumnDefinitions>
<Canvas Grid.Column="0"
ClipToBounds="True"
Panel.ZIndex="1000"
Margin="0,0,0,0"
VerticalAlignment="Top"
@@ -938,7 +942,8 @@
</Button>
</Canvas>
<Canvas Margin="0,0,0,0"
<Canvas Grid.Column="1"
Margin="0,0,0,0"
Panel.ZIndex="1"
ClipToBounds="True"
Height="576"
@@ -988,7 +993,7 @@
</Canvas>
</Canvas>
</StackPanel>
</Grid>
</DockPanel>
<Image Source="Resources/United-Kingdom-Flag-icon.png"
Panel.ZIndex="1001"