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>2012-11-04 05:05:25 +0400
committerThomas Dinges <blender@dingto.org>2012-11-04 05:05:25 +0400
commit61bc63799ec64ce9355778c6703b492c255321bc (patch)
treea3b2d20c029144f4274c0d3b7ea445306262ebad /release
parent9720251bb2d3336444654092af066334d8538c0e (diff)
UI Tweak:
* Use alignment for thread buttons in BI, same as in Cycles.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 544462e1242..abc2626ee13 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -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")