mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Use the system font as default font, not the user font
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
42789654de
commit
cb43f1ecbe
1 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ static NSColor *shadowCol;
|
|||
_cell.type = NSImageCellType;
|
||||
_cell_image = RETAIN (anImage);
|
||||
_cell.image_position = NSImageOnly;
|
||||
_font = RETAIN ([fontClass userFontOfSize: 0]);
|
||||
_font = RETAIN ([fontClass systemFontOfSize: 0]);
|
||||
|
||||
// Implicitly set by allocation:
|
||||
//
|
||||
|
@ -156,7 +156,7 @@ static NSColor *shadowCol;
|
|||
{
|
||||
_cell.type = NSTextCellType;
|
||||
_contents = RETAIN (aString);
|
||||
_font = RETAIN ([fontClass userFontOfSize: 0]);
|
||||
_font = RETAIN ([fontClass systemFontOfSize: 0]);
|
||||
|
||||
// Implicitly set by allocation:
|
||||
//
|
||||
|
@ -537,7 +537,7 @@ static NSColor *shadowCol;
|
|||
ASSIGN (_contents, @"title");
|
||||
_cell.contents_is_attributed_string = NO;
|
||||
/* Doc says we have to reset the font too. */
|
||||
ASSIGN (_font, [fontClass userFontOfSize: 0]);
|
||||
ASSIGN (_font, [fontClass systemFontOfSize: 0]);
|
||||
break;
|
||||
}
|
||||
case NSImageCellType:
|
||||
|
|
Loading…
Reference in a new issue