diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 03:51:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 04:55:49 +0300 |
commit | bae8ab3188b33635f90f840fccdc6517a3dae22b (patch) | |
tree | efceca2448068b9aae343e736a160c4fea0fe832 /release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | |
parent | 5bd731b6730b6dc31dad7c3e8ccf0555b7bed3f1 (diff) |
UI: remove hack to align search properties
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index 9d52232e10c..424ad6ce5e1 100644 --- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py @@ -397,10 +397,7 @@ class PHYSICS_PT_dp_canvas_output(PhysicButtonsPanel, Panel): col = flow.column() - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search(surface, "uv_layer", ob.data, "uv_layers", text="UV Map") - row.label(text="", icon='BLANK1') + col.prop_search(surface, "uv_layer", ob.data, "uv_layers", text="UV Map") col = flow.column() col.prop(surface, "image_fileformat") @@ -539,16 +536,10 @@ class PHYSICS_PT_dp_canvas_initial_color(PhysicButtonsPanel, Panel): elif surface.init_color_type == 'TEXTURE': col.prop(surface, "init_texture") - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search(surface, "init_layername", ob.data, "uv_layers", text="UV Map") - row.label(text="", icon='BLANK1') + col.prop_search(surface, "init_layername", ob.data, "uv_layers", text="UV Map") elif surface.init_color_type == 'VERTEX_COLOR': - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search(surface, "init_layername", ob.data, "vertex_colors", text="Color Layer") - row.label(text="", icon='BLANK1') + col.prop_search(surface, "init_layername", ob.data, "vertex_colors", text="Color Layer") class PHYSICS_PT_dp_effects(PhysicButtonsPanel, Panel): @@ -742,10 +733,7 @@ class PHYSICS_PT_dp_brush_source(PhysicButtonsPanel, Panel): col.separator() - # Note: TODO prop_search doesn't align on the right. - row = col.row(align=True) - row.prop_search(brush, "particle_system", ob, "particle_systems") - row.label(text="", icon='BLANK1') + col.prop_search(brush, "particle_system", ob, "particle_systems") if brush.particle_system: col = flow.column() |