mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:10:37 +00:00
Initial implementation of new GSTheme hooks and default implementations.
This commit is contained in:
parent
0b2f0a4e54
commit
81b59ad0a0
6 changed files with 80 additions and 10 deletions
|
@ -791,6 +791,9 @@ static float menuBarHeight = 0.0;
|
|||
NSMenuItemCell *aCell = [self menuItemCellForItemAtIndex: i];
|
||||
float titleWidth = [aCell titleWidth];
|
||||
|
||||
titleWidth = [[GSTheme theme] proposedTitleWidth: titleWidth
|
||||
forMenuView: self];
|
||||
|
||||
if ([aCell imageWidth])
|
||||
{
|
||||
titleWidth += [aCell imageWidth] + GSCellTextImageXDist;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue