Fixed title position

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2000-05-04 18:17:51 +00:00
parent 33ae13a994
commit a131aba400

View file

@ -504,7 +504,7 @@ setControl(NSView* content, id control, NSString *title)
rect.size.height = 20.0; // will be sized to fit anyway.
rect.size.width = 80.0; // will be sized to fit anyway.
rect.origin.y = r.origin.y + r.size.height;
rect.origin.y = r.origin.y + r.size.height + IconBottom;
rect.origin.x = TitleLeft;
titleField = [[NSTextField alloc] initWithFrame: rect];
[titleField setAutoresizingMask: NSViewMinYMargin];