Browse Source

Add borders to the 16 colors.

BDisp 10 months ago
parent
commit
bd42a48b47
1 changed files with 6 additions and 2 deletions
  1. 6 2
      UICatalog/Scenarios/Editor.cs

+ 6 - 2
UICatalog/Scenarios/Editor.cs

@@ -442,7 +442,9 @@ public class Editor : Scenario
             cpForeground = new ColorPicker16
             {
                 SelectedColor = current!.Value.Foreground.GetClosestNamedColor16 (),
-                Width = Dim.Fill ()
+                Width = Dim.Fill (),
+                BorderStyle = LineStyle.Single,
+                Title = "Foreground"
             };
         }
         else
@@ -465,7 +467,9 @@ public class Editor : Scenario
             {
                 SelectedColor = current!.Value.Background.GetClosestNamedColor16 (),
                 Y = Pos.Bottom (cpForeground) + 1,
-                Width = Dim.Fill ()
+                Width = Dim.Fill (),
+                BorderStyle = LineStyle.Single,
+                Title = "Background"
             };
         }
         else