From 55c2c8dfbcfdf0b7bf4fa8d9a59b13531c364aca Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Mon, 23 Dec 2019 01:36:17 +0200 Subject: [PATCH] * GormCore/GormPalettesManager.m (init): made dragView is not autoresizable to omit problems with palettes visibility. --- GormCore/GormPalettesManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GormCore/GormPalettesManager.m b/GormCore/GormPalettesManager.m index b00a19e7..22899a38 100644 --- a/GormCore/GormPalettesManager.m +++ b/GormCore/GormPalettesManager.m @@ -340,7 +340,7 @@ static NSImage *dragImage = nil; RELEASE(scrollView); dragView = [[GormPaletteView alloc] initWithFrame: dragRect]; - [dragView setAutoresizingMask: (NSViewHeightSizable | NSViewWidthSizable)]; + [dragView setAutoresizingMask: NSViewMinYMargin]; [[panel contentView] addSubview: dragView]; RELEASE(dragView);