diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index baa2b2ffec8..2b50cb1cf8e 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -4929,7 +4929,7 @@ void uiBlockEndAlign(uiBlock *block) uiBut *prev, *but=NULL, *next; int flag= 0, cols=0, rows=0; - if ( !((BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 1) || (BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 2))) { + if ( !((BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 0) || (BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 1) || (BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 2))) { block->flag &= ~UI_BUT_ALIGN; // all 4 flags return; } diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index e0e09e36aac..8c5640fdf0d 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -1209,12 +1209,18 @@ static void ui_draw_round(int type, int colorid, float asp, float x1, float y1, /* super minimal button as used in logic menu */ static void ui_draw_minimal(int type, int colorid, float asp, float x1, float y1, float x2, float y2, int flag) { - + /* too much space between buttons */ + /* x1+= asp; x2-= asp; y1+= asp; y2-= asp; - + */ + + /* Less space between buttons looks nicer */ + y2-= asp; + x2-= asp; + /* paper */ if(flag & UI_SELECT) { if(flag & UI_ACTIVE) BIF_ThemeColorShade(colorid, -40);