refactor(UI): 优化更多功能标题栏的布局和图标
使用 Grid 布局替代 SimpleStackPanel 以提升布局灵活性 将关闭图标替换为 Segoe Fluent 图标以保持风格一致
This commit is contained in:
+13
-14
@@ -3066,21 +3066,20 @@
|
|||||||
CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1"
|
CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1"
|
||||||
BorderBrush="#2563eb">
|
BorderBrush="#2563eb">
|
||||||
<ikw:SimpleStackPanel Margin="-1,0,0,0">
|
<ikw:SimpleStackPanel Margin="-1,0,0,0">
|
||||||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" Background="#2563eb" Margin="-1,-1,-1,0"
|
||||||
CornerRadius="6,6,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
|
|
||||||
Padding="1,1,1,0">
|
Padding="1,1,1,0">
|
||||||
<ikw:SimpleStackPanel Orientation="Horizontal"
|
<Grid Margin="6">
|
||||||
HorizontalAlignment="Stretch">
|
<Grid.ColumnDefinitions>
|
||||||
<TextBlock Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}" Foreground="White" Padding="8,5,44,5"
|
<ColumnDefinition Width="*" />
|
||||||
FontSize="11" FontWeight="Bold"
|
<ColumnDefinition Width="Auto" />
|
||||||
TextAlignment="Center" />
|
</Grid.ColumnDefinitions>
|
||||||
<Image Margin="0,0,0,0"
|
<TextBlock Grid.Column="0" Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}"
|
||||||
Source="/Resources/new-icons/close-white.png"
|
Foreground="White" FontWeight="Bold"/>
|
||||||
RenderOptions.BitmapScalingMode="HighQuality"
|
<ui:FontIcon Grid.Column="1" Icon="{x:Static ui:SegoeFluentIcons.ChromeCloseContrast}"
|
||||||
Height="16"
|
Foreground="White" FontSize="12"
|
||||||
Width="16" MouseDown="Border_MouseDown"
|
MouseDown="Border_MouseDown"
|
||||||
MouseUp="CloseBordertools_MouseUp" />
|
MouseUp="CloseBordertools_MouseUp" />
|
||||||
</ikw:SimpleStackPanel>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
<!---->
|
<!---->
|
||||||
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="2">
|
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="2">
|
||||||
|
|||||||
Reference in New Issue
Block a user