From 5596d88faec1cafa8b341a62a7740f68ba068222 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Sat, 3 Jan 2004 13:36:28 +0000 Subject: [PATCH] * Small tweaks to improve button positioning in the headers --- source/blender/src/header_info.c | 2 ++ source/blender/src/headerbuttons.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index c7c32d68765..1f670250be5 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -1720,6 +1720,8 @@ void info_buttons(void) /* STD SCREEN BUTTONS */ xco= std_libbuttons(block, xco, 0, 0, NULL, B_INFOSCR, (ID *)G.curscreen, 0, &G.curscreen->screennr, 1, 1, B_INFODELSCR, 0, 0); + + xco +=8; /* STD SCENE BUTTONS */ xco= std_libbuttons(block, xco, 0, 0, NULL, B_INFOSCE, (ID *)G.scene, 0, &G.curscreen->scenenr, 1, 1, B_INFODELSCE, 0, 0); diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index 6417dc6ec29..d6a29c22786 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -482,7 +482,7 @@ int std_libbuttons(uiBlock *block, short xco, short yco, uiDefButS(block, TOG, browse, "Add New" ,xco, yco, 110, YIC, menupoin, (float)*menupoin, 32767.0, 0, 0, "Add new data block"); xco+= 110; } - xco+=XIC; + //xco+=XIC; uiBlockSetCol(block, oldcol); uiBlockEndAlign(block);