Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-01-19 17:42:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-01-19 17:42:04 +0300
commit14e1000e387b0dc3541610a88c54cb88f367b05e (patch)
tree29422e44b85bf2082eefa26b86deefd26b457942 /source/blender/src/interface_draw.c
parent4a32e0380b4ac15955043554302742333329850b (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.c10
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);