forked from bartvdbraak/blender
2.5 - Tiny tweak to a tiny tweak for text padding (22039)
The second tweak made (for the case without an icon) was causing superfluous spacing all over the UI for things like checkboxes + combo-boxes + text widgets. This was quite ugly and gave readability issues with the checkboxes in particular.
This commit is contained in:
parent
d56466747d
commit
13786ba621
@ -892,7 +892,7 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
|
||||
rect->xmin += 10;
|
||||
}
|
||||
else if((but->flag & UI_TEXT_LEFT))
|
||||
rect->xmin += 10;
|
||||
rect->xmin += 5;
|
||||
|
||||
/* always draw text for textbutton cursor */
|
||||
widget_draw_text(fstyle, wcol, but, rect);
|
||||
|
Loading…
Reference in New Issue
Block a user