From e4dfa162c9ed81f052cb5c3f59756f154edcf5ee Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 12 Apr 2002 00:02:26 +0000 Subject: [PATCH] No longer need to manually fix button sizes after autosizing git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13452 72102866-910b-0410-8b05-ffd578937521 --- Source/GSMemoryPanel.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/GSMemoryPanel.m b/Source/GSMemoryPanel.m index 310d68b0d..3c38d9f44 100644 --- a/Source/GSMemoryPanel.m +++ b/Source/GSMemoryPanel.m @@ -194,8 +194,6 @@ static GSMemoryPanel *sharedGSMemoryPanel = nil; [button setAction: @selector(update:)]; [button setAutoresizingMask: NSViewMinXMargin]; [button sizeToFit]; - [button setFrameSize: NSMakeSize ([button frame].size.width + 6, - [button frame].size.height + 4)]; hbox = [GSHbox new]; [hbox setDefaultMinXMargin: 5];