[Bf-blender-cvs] [2e54104] bake-cycles: Cycles-Bake: UI - align width and height so to use Drag&Edit

Dalai Felinto noreply at git.blender.org
Wed Apr 23 02:47:52 CEST 2014


Commit: 2e5410474ca6ed76881f4f051841a0ec34278c5e
Author: Dalai Felinto
Date:   Tue Mar 25 23:50:28 2014 -0300
https://developer.blender.org/rB2e5410474ca6ed76881f4f051841a0ec34278c5e

Cycles-Bake: UI - align width and height so to use Drag&Edit

Fix #19

===================================================================

M	intern/cycles/blender/addon/ui.py

===================================================================

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index d13e469..5bbd1e4 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1330,11 +1330,14 @@ class CyclesRender_PT_bake(CyclesButtonsPanel, Panel):
         col.prop(cbk, "type")
 
         col.separator()
-        row = col.row(align=True)
-        row.prop(cbk, "width")
-        row.prop(cbk, "height")
+        row = col.row()
+
+        sub = row.column(align=True)
+        sub.prop(cbk, "width")
+        sub.prop(cbk, "height")
 
-        col.prop(cbk, "margin")
+        sub = row.column()
+        sub.prop(cbk, "margin")
 
         col.separator()
         col.prop(cbk, "use_selected_to_active")




More information about the Bf-blender-cvs mailing list