mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
revert: "ux: use the same style for popup"
This reverts commit d85f7ffe1b
.
Sometimes, it results a transparent popup panel
This commit is contained in:
parent
3257566781
commit
76bb93518a
1 changed files with 10 additions and 3 deletions
|
@ -259,9 +259,16 @@
|
||||||
<DataTemplate DataType="vm:Popup">
|
<DataTemplate DataType="vm:Popup">
|
||||||
<Border Margin="8,0,8,8"
|
<Border Margin="8,0,8,8"
|
||||||
Background="{DynamicResource Brush.Popup}"
|
Background="{DynamicResource Brush.Popup}"
|
||||||
CornerRadius="0,0,4,4"
|
BorderBrush="{DynamicResource Brush.Border0}"
|
||||||
BorderThickness="0"
|
CornerRadius="0,0,4,4">
|
||||||
Effect="drop-shadow(0 0 8 #8F000000)">
|
<Border.BorderThickness>
|
||||||
|
<OnPlatform Default="0" Linux="1,0,1,1"/>
|
||||||
|
</Border.BorderThickness>
|
||||||
|
|
||||||
|
<Border.Effect>
|
||||||
|
<OnPlatform Default="drop-shadow(0 0 8 #8F000000)" Linux="{x:Null}"/>
|
||||||
|
</Border.Effect>
|
||||||
|
|
||||||
<StackPanel Margin="8" Orientation="Vertical">
|
<StackPanel Margin="8" Orientation="Vertical">
|
||||||
<!-- Popup Widget -->
|
<!-- Popup Widget -->
|
||||||
<ContentPresenter Margin="0,8"
|
<ContentPresenter Margin="0,8"
|
||||||
|
|
Loading…
Reference in a new issue