changed.调整了桌面组件库的UI

This commit is contained in:
lincube
2026-05-25 10:16:00 +08:00
parent 01cf32a610
commit 75aed3f6ad
2 changed files with 26 additions and 26 deletions

View File

@@ -108,7 +108,7 @@
Click="OnFindMoreComponentsClick">
<StackPanel Orientation="Horizontal" Spacing="6">
<fi:FluentIcon Icon="Globe" IconVariant="Regular" FontSize="14"/>
<TextBlock Text="查找更多组件" FontSize="12"/>
<TextBlock Text="查找更多组件" FontSize="12"/>
</StackPanel>
</Button>
</StackPanel>
@@ -132,6 +132,7 @@
FontWeight="SemiBold"
Foreground="{DynamicResource AdaptiveTextPrimaryBrush}"
Text="{Binding SelectedComponent.DisplayName}"
HorizontalAlignment="Center"
TextTrimming="CharacterEllipsis"/>
<TextBlock Grid.Row="1"
@@ -141,6 +142,7 @@
Foreground="{DynamicResource AdaptiveTextSecondaryBrush}"
Opacity="0.82"
Text="{Binding SelectedComponent.Description}"
HorizontalAlignment="Center"
TextWrapping="Wrap"
TextTrimming="CharacterEllipsis"/>
@@ -176,7 +178,7 @@
Click="OnAddComponentClick">
<StackPanel Orientation="Horizontal" Spacing="8">
<fi:FluentIcon Icon="Add" IconVariant="Regular" FontSize="16"/>
<TextBlock Text="添加" FontWeight="SemiBold"/>
<TextBlock Text="添加小组件" FontWeight="SemiBold"/>
</StackPanel>
</Button>
</Grid>