* Small tweaks to improve button positioning in the headers
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user