Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-24 03:51:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-24 04:55:49 +0300
commitbae8ab3188b33635f90f840fccdc6517a3dae22b (patch)
treeefceca2448068b9aae343e736a160c4fea0fe832 /release/scripts/startup/bl_ui/properties_physics_softbody.py
parent5bd731b6730b6dc31dad7c3e8ccf0555b7bed3f1 (diff)
UI: remove hack to align search properties
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_softbody.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_softbody.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_softbody.py b/release/scripts/startup/bl_ui/properties_physics_softbody.py
index 595e462e1c3..7f1da6a4acb 100644
--- a/release/scripts/startup/bl_ui/properties_physics_softbody.py
+++ b/release/scripts/startup/bl_ui/properties_physics_softbody.py
@@ -84,10 +84,7 @@ class PHYSICS_PT_softbody_object(PhysicButtonsPanel, Panel):
col = flow.column()
col.prop(softbody, "mass")
- # Note: TODO prop_search doesn't align on the right.
- row = col.row(align=True)
- row.prop_search(softbody, "vertex_group_mass", ob, "vertex_groups", text="Control Point")
- row.label(text="", icon='BLANK1')
+ col.prop_search(softbody, "vertex_group_mass", ob, "vertex_groups", text="Control Point")
class PHYSICS_PT_softbody_simulation(PhysicButtonsPanel, Panel):
@@ -141,10 +138,7 @@ class PHYSICS_PT_softbody_goal(PhysicButtonsPanel, Panel):
layout.active = softbody.use_goal and softbody_panel_enabled(md)
- # Note: TODO prop_search doesn't align on the right.
- row = layout.row(align=True)
- row.prop_search(softbody, "vertex_group_goal", ob, "vertex_groups", text="Vertex Group")
- row.label(text="", icon='BLANK1')
+ layout.prop_search(softbody, "vertex_group_goal", ob, "vertex_groups", text="Vertex Group")
class PHYSICS_PT_softbody_goal_strenghts(PhysicButtonsPanel, Panel):
@@ -221,10 +215,7 @@ class PHYSICS_PT_softbody_edge(PhysicButtonsPanel, Panel):
col = flow.column()
- # Note: TODO prop_search doesn't align on the right.
- row = col.row(align=True)
- row.prop_search(softbody, "vertex_group_spring", ob, "vertex_groups", text="Springs")
- row.label(text="", icon='BLANK1')
+ col.prop_search(softbody, "vertex_group_spring", ob, "vertex_groups", text="Springs")
col.separator()