mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:30:38 +00:00
Keyboard focus handling fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5264 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f6a85c5407
commit
9f320dec44
4 changed files with 175 additions and 38 deletions
|
@ -472,8 +472,10 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
|||
accumulatedOffset += neededKeyEquivalentWidth + menuv_horizontalEdgePad;
|
||||
|
||||
// Calculate frame size.
|
||||
#if 0
|
||||
if (![menuv_menu _isBeholdenToPopUpButton])
|
||||
cellSize.width = accumulatedOffset + 3; // Add the border width
|
||||
#endif
|
||||
|
||||
[self setFrameSize: NSMakeSize(cellSize.width + 1, howHigh)];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue