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

@ -7,15 +7,15 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="SourceGit.Views.WorkspaceSwitcher"
x:DataType="vm:WorkspaceSwitcher">
<Grid RowDefinitions="28,Auto,Auto">
<Grid RowDefinitions="Auto,Auto,Auto">
<TextBlock Grid.Row="0"
Text="{DynamicResource Text.Launcher.SwitchWorkspace}"
Text="{DynamicResource Text.Launcher.Workspaces}"
FontWeight="Bold"
HorizontalAlignment="Center" VerticalAlignment="Top"/>
HorizontalAlignment="Center"/>
<TextBox Grid.Row="1"
Height="24"
Margin="4,0"
Margin="4,8,4,0"
BorderThickness="1"
CornerRadius="12"
Text="{Binding SearchFilter, Mode=TwoWay}"
@ -49,7 +49,7 @@
x:Name="WorkspaceListBox"
Width="300"
MaxHeight="400"
Margin="0,8,0,0"
Margin="4,8,4,0"
BorderThickness="0"
SelectionMode="Single"
Background="Transparent"