mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
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:
parent
33ae13a994
commit
a131aba400
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue