From 419ff8754548d8d7960f435420c4b30093ea6e2d Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Fri, 1 Mar 2013 19:07:28 +0000 Subject: UI / Properties Editor: * Some alignment fixes for Fluid Buttons in the "Fluid" panel. * Tweaked Fluid Particle buttons a bit, no need to have redundant "Particle" name inside the "Fluid Particles" panel. --- release/scripts/startup/bl_ui/properties_physics_fluid.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py index 2164b86f486..696e895fa67 100644 --- a/release/scripts/startup/bl_ui/properties_physics_fluid.py +++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py @@ -92,8 +92,9 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel): col = split.column() col.label() - col.prop(fluid, "use_speed_vectors") - col.prop(fluid, "use_reverse_frames") + sub = col.column(align=True) + sub.prop(fluid, "use_speed_vectors") + sub.prop(fluid, "use_reverse_frames") col.prop(fluid, "frame_offset", text="Offset") layout.prop(fluid, "filepath", text="") @@ -295,9 +296,9 @@ class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel): fluid = context.fluid.settings - col = layout.column(align=True) - col.prop(fluid, "tracer_particles") - col.prop(fluid, "generate_particles") + row = layout.row() + row.prop(fluid, "tracer_particles", text="Tracer") + row.prop(fluid, "generate_particles", text="Generate") if __name__ == "__main__": # only for live edit. bpy.utils.register_module(__name__) -- cgit v1.2.3