mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* 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:
parent
4736b353dc
commit
07ee1e9f6c
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue