* Source/NSComboBoxCell.m: Correct positioning of popup window when

a scale factor is in use.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33120 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-05-25 23:45:19 +00:00
parent 4736b353dc
commit 07ee1e9f6c
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-05-25 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSComboBoxCell.m: Correct positioning of popup window when
a scale factor is in use.
2011-05-25 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSLayoutManager.m: Add a FIXME note

View file

@ -261,9 +261,9 @@ static GSComboWindow *gsWindow = nil;
if (num > max)
num = max;
[self setFrame: NSMakeRect(0, 0, popUpWidth,
[self setFrame: [self frameRectForContentRect: NSMakeRect(0, 0, popUpWidth,
2 * bsize.height + (itemHeight + intercellSpacing.height) * (num - 1)
+ itemHeight) display: NO];
+ itemHeight)] display: NO];
}
- (void) positionWithComboBoxCell: (NSComboBoxCell *)comboBoxCell