* Small tweaks to improve button positioning in the headers

This commit is contained in:
2004-01-03 13:36:28 +00:00
parent b4c2362d24
commit 5596d88fae
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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);