mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix: artifacts when using rounded corner and clip to bounds with Window border on Linux
This commit is contained in:
parent
f204a744bd
commit
e7a1fd9947
1 changed files with 8 additions and 7 deletions
|
@ -120,14 +120,15 @@
|
||||||
Background="{DynamicResource Brush.Window}"
|
Background="{DynamicResource Brush.Window}"
|
||||||
BorderBrush="{DynamicResource Brush.Border0}"
|
BorderBrush="{DynamicResource Brush.Border0}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
CornerRadius="8"
|
CornerRadius="8">
|
||||||
ClipToBounds="True">
|
|
||||||
<VisualLayerManager>
|
<VisualLayerManager>
|
||||||
<ContentPresenter Name="PART_ContentPresenter"
|
<Border CornerRadius="8" ClipToBounds="True">
|
||||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
<ContentPresenter Name="PART_ContentPresenter"
|
||||||
Content="{TemplateBinding Content}"
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
Content="{TemplateBinding Content}"
|
||||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
||||||
|
</Border>
|
||||||
</VisualLayerManager>
|
</VisualLayerManager>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue