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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/header_script.c')
-rw-r--r--source/blender/src/header_script.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c
index 1c6a9cb516b..cb1f89d465f 100644
--- a/source/blender/src/header_script.c
+++ b/source/blender/src/header_script.c
@@ -251,7 +251,8 @@ void script_buttons(void)
}
uiBlockSetEmboss(block, UI_EMBOSS);
-
+
+ uiBlockBeginAlign(block);
uiDefIconBut(block, BUT, B_SCRIPT2PREV, ICON_GO_LEFT, xco+=XIC, 0, XIC, YIC,
0, 0, 0, 0, 0, "Returns to previous window");
@@ -262,7 +263,8 @@ void script_buttons(void)
else
uiDefIconBut(block, BUT,B_FULL, ICON_FULLSCREEN, xco+=XIC,0,XIC,YIC, 0, 0,
0, 0, 0, "Makes current window full screen (CTRL+Down arrow)");
-
+ uiBlockEndAlign(block);
+
/* STD SCRIPT BUTTONS */
xco += 2*XIC;
xco= std_libbuttons(block, xco, 0, 0, NULL, B_SCRIPTBROWSE, ID_SCRIPT, 0, (ID*)sc->script, 0, &(sc->menunr), 0, 0, 0, 0, 0);