fix(layout): remove hard window-width bindings causing corner overdraw
This commit is contained in:
@@ -362,13 +362,11 @@
|
||||
SnapsToDevicePixels="True"
|
||||
ClipToBounds="True">
|
||||
<Grid x:Name="MainWindowContentRoot">
|
||||
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
x:Name="MainDock"
|
||||
<DockPanel x:Name="MainDock"
|
||||
Background="{DynamicResource headerColor}">
|
||||
<Grid DockPanel.Dock="Top"
|
||||
x:Name="GridTop"
|
||||
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
HorizontalAlignment="Left"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="0"
|
||||
Background="{DynamicResource headerColor}"
|
||||
Height="72"
|
||||
@@ -487,7 +485,7 @@
|
||||
BorderThickness="0"
|
||||
BorderBrush="Gray"
|
||||
CornerRadius="0,0,14,14"
|
||||
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}">
|
||||
HorizontalAlignment="Stretch">
|
||||
<Border.Background>
|
||||
<ImageBrush ImageSource="Resources/top_cp.png"
|
||||
Stretch="UniformToFill" />
|
||||
|
||||
Reference in New Issue
Block a user