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
path: root/source
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2003-10-21 11:28:44 +0400
committerMatt Ebb <matt@mke3.net>2003-10-21 11:28:44 +0400
commite3f3491ac3fa42806b75af5ec89f125182db3398 (patch)
treee420424880d3dc2db112f4715f99bd64c00d0e10 /source
parentc6ef2afb3f01b070e44d6c2afe2d33e67ced3de9 (diff)
Made pupmenu() separators consistent with pulldowns
TODO: same for popup menu buttons
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index 75d67e0850e..81a26f68ea3 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -3760,7 +3760,7 @@ short pupmenu(char *instr)
xmax= BIF_GetStringWidth(uiBlockGetCurFont(block), md->items[a].str, (U.transopts && TR_BUTTONS));
if(xmax>width) width= xmax;
- if( strcmp(name, "%l")==0) height+= boxh/2;
+ if( strcmp(name, "%l")==0) height+= 6;
else height+= boxh;
}
@@ -3822,8 +3822,8 @@ short pupmenu(char *instr)
char *name= md->items[a].str;
if( strcmp(name, "%l")==0) {
- uiDefBut(block, SEPR, B_NOP, "", x1, y1, width, boxh, NULL, 0, 0.0, 0, 0, "");
- y1 -= boxh/2;
+ uiDefBut(block, SEPR, B_NOP, "", x1, y1, width, 6, NULL, 0, 0.0, 0, 0, "");
+ y1 -= 6;
}
else {
uiDefButS(block, BUTM, B_NOP, name, x1, y1, width, boxh-1, &val, (float) md->items[a].retval, 0.0, 0, 0, "");