Minor code cleanup
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 30 Jul 2012 17:12:01 +0000 (17:12 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 30 Jul 2012 17:12:01 +0000 (17:12 +0000)
release/scripts/startup/bl_ui/space_node.py

index 40fe9be91357c67dc068888798946a1a3879f366..ccdf44a7dc2c1be6a9efb99d7e65c9cb5b019526 100644 (file)
@@ -230,14 +230,17 @@ class NODE_PT_quality(bpy.types.Panel):
         snode = context.space_data
         tree = snode.node_tree
 
-        layout.prop(tree, "render_quality", text="Render")
-        layout.prop(tree, "edit_quality", text="Edit")
-        layout.prop(tree, "chunk_size")
-        layout.prop(tree, "use_opencl")
-        layout.prop(tree, "two_pass")
-        layout.prop(snode, "show_highlight")
-        layout.prop(snode, "use_hidden_preview")
-  
+        col = layout.column()
+        col.prop(tree, "render_quality", text="Render")
+        col.prop(tree, "edit_quality", text="Edit")
+        col.prop(tree, "chunk_size")
+
+        col = layout.column()
+        col.prop(tree, "use_opencl")
+        col.prop(tree, "two_pass")
+        col.prop(snode, "show_highlight")
+        col.prop(snode, "use_hidden_preview")
+
 
 class NODE_MT_node_color_presets(Menu):
     """Predefined node color"""