mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-30 18:59:18 -05:00
FIX #247
This commit is contained in:
@ -3876,7 +3876,7 @@ static Rectangle GetTextBounds(int control, Rectangle bounds)
|
|||||||
// Consider TEXT_PADDING properly, depends on control type and TEXT_ALIGNMENT
|
// Consider TEXT_PADDING properly, depends on control type and TEXT_ALIGNMENT
|
||||||
switch (control)
|
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
|
//case VALUEBOX: break; // NOTE: ValueBox text value always centered, text padding applies to label
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user