Came to a consensus about combobox fonts on OS X.
This commit is contained in:
parent
cb98f4cc45
commit
d7b537e9ed
darwin
|
@ -113,7 +113,9 @@ uiCombobox *uiNewCombobox(void)
|
||||||
[c->pb setPreferredEdge:NSMinYEdge];
|
[c->pb setPreferredEdge:NSMinYEdge];
|
||||||
pbcell = (NSPopUpButtonCell *) [c->pb cell];
|
pbcell = (NSPopUpButtonCell *) [c->pb cell];
|
||||||
[pbcell setArrowPosition:NSPopUpArrowAtBottom];
|
[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
|
// NSPopUpButton doesn't work like a combobox
|
||||||
// - it automatically selects the first item
|
// - it automatically selects the first item
|
||||||
|
|
Loading…
Reference in New Issue