Commit: 868b1e3032e0df67e0670d56a4725539215cb7c1
Author: Julian Eisel
Date:   Thu Jun 4 18:37:27 2015 +0200
Branches: UI-experiments UI-graphical-redesign
https://developer.blender.org/rB868b1e3032e0df67e0670d56a4725539215cb7c1

Use left aligned text for icon buttons

===================================================================

M       source/blender/editors/interface/interface.c

===================================================================

diff --git a/source/blender/editors/interface/interface.c 
b/source/blender/editors/interface/interface.c
index e045db8..956f17c 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -3250,7 +3250,7 @@ void ui_def_but_icon(uiBut *but, const int icon, const 
int flag)
        but->flag |= flag;
 
        if (but->str && but->str[0]) {
-               but->drawflag |= UI_BUT_ICON_LEFT;
+               but->drawflag |= (UI_BUT_ICON_LEFT | UI_BUT_TEXT_LEFT);
        }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to