From 13b78e8149792c47744530c1b987c1acadca073d Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 20 Nov 2018 23:27:26 +0100 Subject: [PATCH] Corrected issue with DEFAULT_TEXT_SIZE --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index ec7570e..eb0661f 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -1144,7 +1144,7 @@ RAYGUIDEF int GuiComboBox(Rectangle bounds, const char **text, int count, int ac else if (active > count - 1) active = count - 1; int textWidth = GuiTextWidth(text[active]); - int textHeight = GuiGetStyle(COMBOBOX, TEXT_SIZE); + int textHeight = GuiGetStyle(DEFAULT, TEXT_SIZE); if (bounds.width < textWidth) bounds.width = textWidth; if (bounds.height < textHeight) bounds.height = textHeight;