diff options
author | Larry Ewing <lewing@microsoft.com> | 2018-07-16 04:22:34 +0300 |
---|---|---|
committer | Larry Ewing <lewing@microsoft.com> | 2018-07-16 22:05:49 +0300 |
commit | 5feca157277b4007201a3d0561f14e76498de1c8 (patch) | |
tree | f142e95dd52d0ef89540fa36c3ee09bac3dfa9e8 /Xamarin.PropertyEditing.Mac/Controls | |
parent | d9dcfd3470fa75cefc0da0846ee6cb8143467eb4 (diff) |
[mac] update the preferred size to match the contents
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs index 427e7ab..7ecea62 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs @@ -2,9 +2,7 @@ using System; using System.Collections; using System.ComponentModel; using AppKit; -using CoreAnimation; using CoreGraphics; -using CoreImage; using Xamarin.PropertyEditing.Drawing; using Xamarin.PropertyEditing.ViewModels; @@ -45,7 +43,7 @@ namespace Xamarin.PropertyEditing.Mac this.popover = new NSPopover (); popover.Behavior = NSPopoverBehavior.Transient; popover.ContentViewController = brushTabViewController = new BrushTabViewController { - PreferredContentSize = new CGSize (250, 300) + PreferredContentSize = new CGSize (430, 263) }; this.popUpButton = new ColorPopUpButton { |