Browse Source

Fixed Clear call in label

Tig 1 year ago
parent
commit
6786f737c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UICatalog/Scenarios/ColorPicker.cs

+ 1 - 1
UICatalog/Scenarios/ColorPicker.cs

@@ -99,7 +99,7 @@ public class ColorPickers : Scenario
     /// <summary>Update a color label from his ColorPicker.</summary>
     /// <summary>Update a color label from his ColorPicker.</summary>
     private void UpdateColorLabel (Label label, ColorPicker colorPicker)
     private void UpdateColorLabel (Label label, ColorPicker colorPicker)
     {
     {
-        label.ClearFrame ();
+        label.Clear ();
         var color = new Color (colorPicker.SelectedColor);
         var color = new Color (colorPicker.SelectedColor);
 
 
         label.Text =
         label.Text =