diff options
author | Larry Ewing <lewing@microsoft.com> | 2018-07-19 18:52:28 +0300 |
---|---|---|
committer | Larry Ewing <lewing@microsoft.com> | 2018-07-19 20:39:52 +0300 |
commit | c33025723780f4b94bf557f0d48740c3486a8a78 (patch) | |
tree | 76340cc246da44b83b288d0a2a0ab6d104404001 /Xamarin.PropertyEditing.Mac/Controls | |
parent | 2bd78ab81b5e6ff7b91e491d3851329ed504b637 (diff) |
[mac] center the popover on the color swatch
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs index 4238f0c..2c86fc2 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs @@ -30,7 +30,7 @@ namespace Xamarin.PropertyEditing.Mac return; if (!Popover.Shown) - Popover.Show (new CGRect (20, this.Frame.Height / 2 - 2.5, 5, 5), this, NSRectEdge.MinYEdge); + Popover.Show (new CGRect (26, this.Frame.Height / 2 - 2, 2, 2), this, NSRectEdge.MinYEdge); } } |