2.6 Ocean Modifier UI:
authorThomas Dinges <blender@dingto.org>
Wed, 25 Apr 2012 18:12:41 +0000 (18:12 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 25 Apr 2012 18:12:41 +0000 (18:12 +0000)
* Fix an alignment issue, column_flow layout apparently does not use the whole width, leaving a small gap on the right side. This should be fixed in the layout engine, but too close to release now.

release/scripts/startup/bl_ui/properties_data_modifier.py

index a4e7d1070994034eb6c9d19af367d932cf255c0f..9c4e79c4c34a01944e270fb06516683559c72f66 100644 (file)
@@ -440,11 +440,15 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
 
         layout.separator()
 
-        flow = layout.column_flow()
-        flow.prop(md, "time")
-        flow.prop(md, "resolution")
-        flow.prop(md, "spatial_size")
-        flow.prop(md, "depth")
+        split = layout.split()
+        
+        col = split.column()
+        col.prop(md, "time")
+        col.prop(md, "resolution")
+        
+        col = split.column()
+        col.prop(md, "spatial_size")
+        col.prop(md, "depth")
 
         layout.label("Waves:")