From 9fb18e020e6da4fa5986ebf4436a270d42e6542d Mon Sep 17 00:00:00 2001 From: PrefacedCorg <1876568293@qq.com> Date: Fri, 1 May 2026 23:03:20 +0800 Subject: [PATCH] =?UTF-8?q?```=20fix(ui):=20=E4=BF=AE=E5=A4=8D=E7=94=BB?= =?UTF-8?q?=E5=B8=83=E7=95=8C=E9=9D=A2=E5=85=83=E7=B4=A0=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E5=92=8C=E9=97=B4=E8=B7=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复背景设置面板的位置偏移问题,调整Margin值从-115,-360,-55,50到-189,-360,-55,50 - 为各个工具面板添加设计时可见性属性(d:Visibility="Visible")以便预览 - 修复多个堆叠面板的Spacing属性,将负值改为正值以正确显示元素间距 - 在各个工具菜单区域添加中文注释标识(如, 等) - 调整了工具面板中的Spacing属性从-2到2,解决元素重叠问题 ``` --- Ink Canvas/MainWindow.xaml | 347 ++++++++++++++++++------------------- 1 file changed, 168 insertions(+), 179 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml b/Ink Canvas/MainWindow.xaml index a91db569..89a6f0ab 100644 --- a/Ink Canvas/MainWindow.xaml +++ b/Ink Canvas/MainWindow.xaml @@ -1089,137 +1089,137 @@ Label="{i18n:I18n Key=Board_Background}" IconGeometry="F0 M24,24z M0,0z M4.71815,3.98345C6.64142,2.23541 9.19629,1.17001 12,1.17001 17.9812,1.17001 22.83,6.01877 22.83,12 22.83,17.9813 17.9812,22.83 12,22.83 11.6262,22.83 11.2568,22.8111 10.8927,22.7741 5.8167,22.2586 1.77699,18.2377 1.2325,13.1703 1.22536,13.1039 1.21882,13.0373 1.21289,12.9705 1.20871,12.9234 1.20483,12.8762 1.20125,12.8289 1.18054,12.5553 1.17,12.2789 1.17,12 1.17,9.41057 2.07878,7.03339 3.59479,5.17001 3.9391,4.74681 4.31473,4.35011 4.71815,3.98345z M12,20.83C16.8767,20.83 20.83,16.8767 20.83,12 20.83,7.12334 16.8767,3.17001 12,3.17001L12,20.83z" ButtonMouseUp="BoardChangeBackgroundColorBtn_MouseUp" /> - - - - - - - - - - + + + + + + + + + + + Foreground="{DynamicResource TextForeground}" + FontSize="10" FontWeight="Bold" + HorizontalAlignment="Center" + Margin="0,4,0,8" /> + Width="60" Height="30" + Background="#2563eb" + CornerRadius="4" + Margin="0,0,8,0" + MouseUp="WhiteboardModeBtn_MouseUp"> + Foreground="White" + HorizontalAlignment="Center" + VerticalAlignment="Center" /> + Width="60" Height="30" + Background="LightGray" + CornerRadius="4" + MouseUp="BlackboardModeBtn_MouseUp"> + Foreground="Black" + HorizontalAlignment="Center" + VerticalAlignment="Center" /> + Background="{DynamicResource SettingsPageBorderBrush}" + Margin="0,12,0,12" /> + Foreground="{DynamicResource TextForeground}" + FontSize="10" FontWeight="Bold" + HorizontalAlignment="Center" + Margin="0,4,0,8" /> + Width="100" Height="40" + BorderThickness="1" + BorderBrush="{DynamicResource SettingsPageBorderBrush}" + Background="White" + CornerRadius="4" + Margin="0,0,0,10" + HorizontalAlignment="Center" /> - + Foreground="{DynamicResource TextForeground}" /> + + Text="255" Width="30" + VerticalAlignment="Center" + TextAlignment="Right" + Foreground="{DynamicResource TextForeground}" /> - + Foreground="{DynamicResource TextForeground}" /> + + Text="255" Width="30" + VerticalAlignment="Center" + TextAlignment="Right" + Foreground="{DynamicResource TextForeground}" /> - + Foreground="{DynamicResource TextForeground}" /> + + Text="255" Width="30" + VerticalAlignment="Center" + TextAlignment="Right" + Foreground="{DynamicResource TextForeground}" />