Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Maupin <ermaup@microsoft.com>2019-09-30 19:48:53 +0300
committerEric Maupin <ermaup@microsoft.com>2019-09-30 19:48:57 +0300
commitbf6d97f8bcd389a2c97996af57f1306658edcf07 (patch)
treea445dd607755ef8cf2d910d65e2d5b8b6864e70c /Xamarin.PropertyEditing.Mac
parent0525c4d409e05edec73cc30f185421a7391fe812 (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.cs2
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 ()