From d7b537e9edade5cd26f166f1577adc36c1636a66 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 May 2016 21:37:45 -0400 Subject: [PATCH] Came to a consensus about combobox fonts on OS X. --- darwin/combobox.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/darwin/combobox.m b/darwin/combobox.m index e956762e..7e047e9c 100644 --- a/darwin/combobox.m +++ b/darwin/combobox.m @@ -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