ux: use the same style for popup

This commit is contained in:
leo 2024-06-13 14:20:26 +08:00
parent f3bbf79f4f
commit d85f7ffe1b
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -258,19 +258,9 @@
<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}"
BorderBrush="{DynamicResource Brush.Border0}"> CornerRadius="0,0,4,4"
<Border.CornerRadius> BorderThickness="0"
<OnPlatform Default="0,0,4,4" Linux="0"/> Effect="drop-shadow(0 0 8 #8F000000)">
</Border.CornerRadius>
<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"