From bae8ab3188b33635f90f840fccdc6517a3dae22b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Aug 2018 10:51:53 +1000 Subject: UI: remove hack to align search properties --- release/scripts/startup/bl_ui/properties_physics_smoke.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_physics_smoke.py') diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py index bc8df5630e9..7f21b14e03c 100644 --- a/release/scripts/startup/bl_ui/properties_physics_smoke.py +++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py @@ -123,13 +123,10 @@ class PHYSICS_PT_smoke_settings(PhysicButtonsPanel, Panel): col.prop(flow_smoke, "smoke_flow_source", expand=False, text="Flow Source") if flow_smoke.smoke_flow_source == 'PARTICLES': - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search( + col.prop_search( flow_smoke, "particle_system", ob, "particle_systems", text="Particle System" ) - row.label(text="", icon='BLANK1') else: col.prop(flow_smoke, "surface_distance") col.prop(flow_smoke, "volume_density") @@ -153,10 +150,7 @@ class PHYSICS_PT_smoke_settings(PhysicButtonsPanel, Panel): col.separator() - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search(flow_smoke, "density_vertex_group", ob, "vertex_groups", text="Vertex Group") - row.label(text="", icon='BLANK1') + col.prop_search(flow_smoke, "density_vertex_group", ob, "vertex_groups", text="Vertex Group") elif md.smoke_type == 'COLLISION': coll = md.coll_settings @@ -349,10 +343,7 @@ class PHYSICS_PT_smoke_flow_texture(PhysicButtonsPanel, Panel): sub.active = flow_smoke.use_texture if flow_smoke.texture_map_type == 'UV': - # Note: TODO prop_search doesn't align on the right. - row = sub.row(align=True) - row.prop_search(flow_smoke, "uv_layer", ob.data, "uv_layers") - row.label(text="", icon='BLANK1') + sub.prop_search(flow_smoke, "uv_layer", ob.data, "uv_layers") if flow_smoke.texture_map_type == 'AUTO': sub.prop(flow_smoke, "texture_size") -- cgit v1.2.3