From e3f3491ac3fa42806b75af5ec89f125182db3398 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 21 Oct 2003 07:28:44 +0000 Subject: [PATCH] Made pupmenu() separators consistent with pulldowns TODO: same for popup menu buttons --- source/blender/src/interface.c | 6 +++--- 1 file 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, "");