From 7fa42b3e519173c29a2ae250cea15f35e32521c2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Aug 2018 12:09:56 +1000 Subject: Fix T56511: UILayout.prop_search misaligned Add padding when used with property decorations. --- release/scripts/startup/bl_ui/properties_physics_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_physics_common.py') diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 83bfab5581d..9653d98d428 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -239,11 +239,11 @@ def effector_weights_ui(self, context, weights, weight_type): layout = self.layout layout.use_property_split = True - layout.prop(weights, "group") - # NOTE: TODO temporarly used until the animate properties are properly skipped. layout.use_property_decorate = False # No animation (remove this later on). + layout.prop(weights, "group") + flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=True) col = flow.column() -- cgit v1.2.3