UI Tweak:
authorThomas Dinges <blender@dingto.org>
Sun, 4 Nov 2012 01:05:25 +0000 (01:05 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 4 Nov 2012 01:05:25 +0000 (01:05 +0000)
* Use alignment for thread buttons in BI, same as in Cycles.

release/scripts/startup/bl_ui/properties_render.py

index 544462e124246203d4fdcac9498d3556d6b93601..abc2626ee1316583c5a6953af12beeba655ce639 100644 (file)
@@ -332,11 +332,13 @@ class RENDER_PT_performance(RenderButtonsPanel, Panel):
         split = layout.split()
 
         col = split.column()
-        col.label(text="Threads:")
-        col.row().prop(rd, "threads_mode", expand=True)
-        sub = col.column()
-        sub.enabled = rd.threads_mode == 'FIXED'
-        sub.prop(rd, "threads")
+        sub = col.column(align=True)
+        sub.label(text="Threads:")
+        sub.row().prop(rd, "threads_mode", expand=True)
+        subsub = sub.column()
+        subsub.enabled = rd.threads_mode == 'FIXED'
+        subsub.prop(rd, "threads")
+        
         sub = col.column(align=True)
         sub.label(text="Tiles:")
         sub.prop(rd, "parts_x", text="X")