Skip to content

Commit

Permalink
! Added margin for color preview
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Jun 9, 2023
1 parent df3578f commit 6399bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Codist/QuickInfo/ColorQuickInfoUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 6399bbc

Please sign in to comment.