diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-07-30 14:33:27 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-07-30 14:33:27 +0400 |
commit | 13786ba621a22dcd3a7c7a747d481e08b4e5530b (patch) | |
tree | 227e30f6ca623b858db22296cba86bafc6ef05ca /source | |
parent | d56466747d5ee1df8492981e4e80448c3a7bf00f (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 596ae1b7276..eed4425b7ad 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -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); |