ux: update workspace/page switcher popup layout

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-18 20:33:55 +08:00
parent 6b083dcd3e
commit 4b849d9d5c
No known key found for this signature in database
7 changed files with 19 additions and 19 deletions

View file

@ -103,13 +103,13 @@
</ContentControl.DataTemplates>
</ContentControl>
<!-- Workspace Switcher -->
<!-- Workspace/Pages Switcher -->
<Border Grid.Row="1"
Background="Transparent"
IsVisible="{Binding Switcher, Converter={x:Static ObjectConverters.IsNotNull}}">
<Border HorizontalAlignment="Center" VerticalAlignment="Center" Effect="drop-shadow(0 0 12 #A0000000)">
<Border Background="{DynamicResource Brush.Popup}" CornerRadius="8">
<ContentControl Margin="16" Content="{Binding Switcher}">
<ContentControl Margin="16,10,16,12" Content="{Binding Switcher}">
<ContentControl.DataTemplates>
<DataTemplate DataType="vm:WorkspaceSwitcher">
<v:WorkspaceSwitcher/>