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:
authorCampbell Barton <ideasman42@gmail.com>2006-12-23 03:56:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-23 03:56:40 +0300
commitea837b25e39a920f466d6acd6b2f490ba1d97382 (patch)
tree029533059178969715e3819637206cdd93e74e47 /release/scripts/widgetwizard.py
parent1ad1522d10a0efbb5929826af4801724adf4a357 (diff)
Added Draw.BeginAlign(), Draw.EndAlign()
added align to a few scripts where it looks nice.
Diffstat (limited to 'release/scripts/widgetwizard.py')
-rw-r--r--release/scripts/widgetwizard.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/widgetwizard.py b/release/scripts/widgetwizard.py
index 2dd6d230c94..c9f636d392a 100644
--- a/release/scripts/widgetwizard.py
+++ b/release/scripts/widgetwizard.py
@@ -897,15 +897,17 @@ def draw():
3 Shape - T %x" +str(SHAPE3_T) +"|\
3 Shape - Inv T%x" +str(SHAPE3_INVT) +"|\
4 Shape - Mix %x" +str(SHAPE4_X)
- widmenu = Menu(name, EVENT_NONE, 5, 120, 200, 40, widmenu.val, "Choose Widget Type.")
+ widmenu = Menu(name, EVENT_NONE, 5, 120, 200, 40, widmenu.val, "Choose Widget Type.")
PushButton("Next", EVENT_NEXT, 5, 25, 50, 18)
elif stage == 2:
glRasterPos2d(60,140)
rangename = String("Name: ", EVENT_NONE, 5, 170, 200, 18, rangename.val, 50, "Name for Range Object")
drawWidget(widmenu.val)
- PushButton("Back", EVENT_BACK, 5, 25, 50, 18)
- PushButton("Finish", EVENT_NEXT, 55, 25, 50, 18)
+ BeginAlign()
+ PushButton("Back", EVENT_BACK, 5, 25, 50, 18, "Choose another shape type")
+ PushButton("Finish", EVENT_NEXT, 55, 25, 50, 18, "Add Objects at the cursor location")
+ EndAlign()
return