mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4729 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
79f2fa671d
commit
c6b95314b8
6 changed files with 32 additions and 56 deletions
|
@ -306,10 +306,11 @@ static float GSMenuBarHeight = 25.0; // a guess.
|
|||
if (![menuv_menu _isBeholdenToPopUpButton])
|
||||
cellSize.width = 7 + neededWidth + 7 + 7 + 5;
|
||||
|
||||
if ([window contentView] == self)
|
||||
[window setContentSize: NSMakeSize(cellSize.width,howHigh)];
|
||||
else
|
||||
[self setFrame: NSMakeRect(0,0,cellSize.width,howHigh)];
|
||||
// if ([window contentView] == self)
|
||||
// [window setContentSize: NSMakeSize(cellSize.width,howHigh)];
|
||||
// else
|
||||
// [self setFrame: NSMakeRect(0,0,cellSize.width,howHigh)];
|
||||
[self setFrameSize: NSMakeSize(cellSize.width,howHigh)];
|
||||
}
|
||||
|
||||
- (void)sizeToFitForPopUpButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue