From bf6d97f8bcd389a2c97996af57f1306658edcf07 Mon Sep 17 00:00:00 2001 From: Eric Maupin Date: Mon, 30 Sep 2019 12:48:53 -0400 Subject: [mac] Don't autosize the editor panel The view adding the panel as a subview should control how it's sized, not the panel itself. --- Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'Xamarin.PropertyEditing.Mac') diff --git a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs index 7e96dde..1463c48 100644 --- a/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs +++ b/Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs @@ -142,8 +142,6 @@ namespace Xamarin.PropertyEditing.Mac private void Initialize () { - AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable; - this.header = new DynamicBox (HostResourceProvider, NamedResources.PanelTabBackground) { ContentViewMargins = new CGSize (0, 0), ContentView = new NSView () -- cgit v1.2.3