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
This commit is contained in:
nico 2002-04-12 00:02:26 +00:00
parent 7cf2c8ef9d
commit e4dfa162c9

View file

@ -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];