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 05:09:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-24 05:11:24 +0300
commit7fa42b3e519173c29a2ae250cea15f35e32521c2 (patch)
treed19e8abfdfeed146a0d544622ed7cc82c1935b4d /release/scripts/startup
parentbae8ab3188b33635f90f840fccdc6517a3dae22b (diff)
Fix T56511: UILayout.prop_search misaligned
Add padding when used with property decorations.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_common.py4
1 files changed, 2 insertions, 2 deletions
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()