diff options
author | CartBlanche <savagesoftware@gmail.com> | 2019-10-20 15:16:30 +0300 |
---|---|---|
committer | CartBlanche <savagesoftware@gmail.com> | 2020-02-20 01:12:23 +0300 |
commit | f7e0b17b93d870e1b41951acfd0cde25f3bc77b3 (patch) | |
tree | f41a90b12bd3a372d5fb15a365fc331e23543377 /Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | |
parent | 3f1add83acfb543b99d2f9ed4b2e61810c14f976 (diff) |
[Mac] Make Brush Tabs Navigable. Centralise Tabs code under TabButton class.
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs index c0e6344..6a8b213 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs @@ -46,8 +46,7 @@ namespace Xamarin.PropertyEditing.Mac Frame = new CGRect (0, 0, 30, 10) }; - this.popover = new NSPopover { - Behavior = NSPopoverBehavior.Transient, + this.popover = new AutoClosePopOver (hostResources, hostResources.GetVibrantAppearance (EffectiveAppearance)) { ContentViewController = this.brushTabViewController = new BrushTabViewController (hostResources) { PreferredContentSize = new CGSize (550, 363) } |