From 6399bbc3d02f12f3f1bec513b0ffec4b4c184b2a Mon Sep 17 00:00:00 2001 From: WMJ Date: Fri, 9 Jun 2023 20:35:20 +0800 Subject: [PATCH] ! Added margin for color preview --- Codist/QuickInfo/ColorQuickInfoUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Codist/QuickInfo/ColorQuickInfoUI.cs b/Codist/QuickInfo/ColorQuickInfoUI.cs index 3244f5f3..607669bd 100644 --- a/Codist/QuickInfo/ColorQuickInfoUI.cs +++ b/Codist/QuickInfo/ColorQuickInfoUI.cs @@ -60,7 +60,7 @@ public static StackPanel PreviewColor(SolidColorBrush brush) { return new StackPanel { Name = PreviewPanelName, Children = { - new ThemedTipText().Append(new System.Windows.Shapes.Rectangle { Width = 16, Height = 16, Fill = brush }).Append(R.T_Color, true), + new ThemedTipText().Append(new System.Windows.Shapes.Rectangle { Width = 16, Height = 16, Fill = brush, Margin = WpfHelper.GlyphMargin }).Append(R.T_Color, true), new Grid { HorizontalAlignment = HorizontalAlignment.Left, RowDefinitions = {