Came to a consensus about combobox fonts on OS X.
This commit is contained in:
parent
cb98f4cc45
commit
d7b537e9ed
|
@ -113,7 +113,9 @@ uiCombobox *uiNewCombobox(void)
|
|||
[c->pb setPreferredEdge:NSMinYEdge];
|
||||
pbcell = (NSPopUpButtonCell *) [c->pb cell];
|
||||
[pbcell setArrowPosition:NSPopUpArrowAtBottom];
|
||||
// TODO font
|
||||
// the font defined by Interface Builder is Menu 13, which is lol
|
||||
// just use the regular control size for consistency
|
||||
uiDarwinSetControlFont(c->pb, NSRegularControlSize);
|
||||
|
||||
// NSPopUpButton doesn't work like a combobox
|
||||
// - it automatically selects the first item
|
||||
|
|
Loading…
Reference in New Issue