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:
authorThomas Dinges <blender@dingto.org>2009-07-26 12:53:23 +0400
committerThomas Dinges <blender@dingto.org>2009-07-26 12:53:23 +0400
commit3e5f46ebf963cfda0f698a9f0c047ce4df77b79f (patch)
treee81b422b2e339c0f86567991b78beca93c8141a2 /release/ui/space_view3d.py
parenta934773475182feeddc4dd208dc5222975d9206a (diff)
2.5 Various fixes:
* Small code and layout cleanup in 3DView Side Panels. * Added missing redraw notifier for changing world datablock and cursor location.
Diffstat (limited to 'release/ui/space_view3d.py')
-rw-r--r--release/ui/space_view3d.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/ui/space_view3d.py b/release/ui/space_view3d.py
index 0d1a8fd7bc5..fc550982afa 100644
--- a/release/ui/space_view3d.py
+++ b/release/ui/space_view3d.py
@@ -187,13 +187,14 @@ class VIEW3D_PT_background_image(bpy.types.Panel):
if bg:
layout.active = view.display_background_image
- split = layout.split()
- col = split.column()
+ col = layout.column()
col.itemR(bg, "image", text="")
#col.itemR(bg, "image_user")
col.itemR(bg, "size")
col.itemR(bg, "transparency", slider=True)
col.itemL(text="Offset:")
+
+ col = layout.column(align=True)
col.itemR(bg, "x_offset", text="X")
col.itemR(bg, "y_offset", text="Y")