mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 18:26:23 +00:00
Changed system fonts of size 12 to 0. This will use Nicolas font
cache and keep font sizes consistent when changed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7347 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6792f04451
commit
a3333bd2e3
11 changed files with 15 additions and 15 deletions
|
@ -178,10 +178,10 @@ static NSImage *arrowImageH = nil;
|
|||
}
|
||||
else
|
||||
{
|
||||
mcell_titleWidth = [[NSFont menuFontOfSize:12]
|
||||
widthOfString:[mcell_item title]];
|
||||
mcell_keyEquivalentWidth = [[NSFont menuFontOfSize:12]
|
||||
widthOfString:[mcell_item keyEquivalent]];
|
||||
NSFont *defFont = [NSFont menuFontOfSize: 0];
|
||||
|
||||
mcell_titleWidth = [defFont widthOfString:[mcell_item title]];
|
||||
mcell_keyEquivalentWidth = [defFont widthOfString:[mcell_item keyEquivalent]];
|
||||
}
|
||||
|
||||
// Submenu Arrow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue