This commit is contained in:
Ray 2023-01-10 20:41:24 +01:00
parent b5e5271646
commit 32f16ceafd

View File

@ -3876,7 +3876,7 @@ static Rectangle GetTextBounds(int control, Rectangle bounds)
// Consider TEXT_PADDING properly, depends on control type and TEXT_ALIGNMENT
switch (control)
{
case COMBOBOX: bounds.width -= (GuiGetStyle(control, COMBO_BUTTON_WIDTH) + GuiGetStyle(control, COMBO_BUTTON_SPACING)); break;
case COMBOBOX: textBounds.width -= (GuiGetStyle(control, COMBO_BUTTON_WIDTH) + GuiGetStyle(control, COMBO_BUTTON_SPACING)); break;
//case VALUEBOX: break; // NOTE: ValueBox text value always centered, text padding applies to label
default:
{