diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-09-30 19:48:53 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-09-30 19:48:57 +0300 |
commit | bf6d97f8bcd389a2c97996af57f1306658edcf07 (patch) | |
tree | a445dd607755ef8cf2d910d65e2d5b8b6864e70c /Xamarin.PropertyEditing.Mac | |
parent | 0525c4d409e05edec73cc30f185421a7391fe812 (diff) |
[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.
Diffstat (limited to 'Xamarin.PropertyEditing.Mac')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/PropertyEditorPanel.cs | 2 |
1 files changed, 0 insertions, 2 deletions
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 () |