diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-01-19 17:42:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-01-19 17:42:04 +0300 |
commit | 14e1000e387b0dc3541610a88c54cb88f367b05e (patch) | |
tree | 29422e44b85bf2082eefa26b86deefd26b457942 /source/blender/src/interface_draw.c | |
parent | 4a32e0380b4ac15955043554302742333329850b (diff) |
Made the minimal theme align, and buttons now sit close together.
Looks nicer.
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 10 |
1 files changed, 8 insertions, 2 deletions
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); |