tweaked units layout
authorWilliam Reynish <william@reynish.com>
Sun, 16 Aug 2009 15:45:27 +0000 (15:45 +0000)
committerWilliam Reynish <william@reynish.com>
Sun, 16 Aug 2009 15:45:27 +0000 (15:45 +0000)
release/ui/buttons_scene.py

index 514524ceea5f46551f15dffb57d76d902c502596..12200eb26ca104bbe44b9be6f87b5b681f26bd36 100644 (file)
@@ -439,12 +439,12 @@ class SCENE_PT_unit(RenderButtonsPanel):
                unit = context.scene.unit_settings
                
                col = layout.column()
-               col.itemR(unit, "system")
+               col.row().itemR(unit, "system", expand=True)
                
-               col = layout.column()
-               col.active = (unit.system != 'NONE')
-               col.itemR(unit, "scale_length")
-               col.itemR(unit, "use_separate")
+               row = layout.row()
+               row.active = (unit.system != 'NONE')
+               row.itemR(unit, "scale_length", text="Scale")
+               row.itemR(unit, "use_separate")
 
 
 bpy.types.register(SCENE_PT_render)