Fix T76957: Rigid body "Animated" text cutoff
authorJulian Eisel <julian@blender.org>
Mon, 25 May 2020 15:24:48 +0000 (17:24 +0200)
committerJulian Eisel <julian@blender.org>
Mon, 25 May 2020 15:26:22 +0000 (17:26 +0200)
Removes the flow layout from the panel. No reason to use that here,
surrounding code doesn't either. Probably an unintentional left-over.

release/scripts/startup/bl_ui/properties_physics_rigidbody.py

index dd7bf54dc687db65fb3df924ff0cb4412d369bb4..b03f80bd60097a55eb1089377eac67818485d1ba 100644 (file)
@@ -79,14 +79,12 @@ class PHYSICS_PT_rigid_body_settings(PHYSICS_PT_rigidbody_panel, Panel):
             rigid_body_warning(layout)
             return
 
-        flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=True)
-        col = flow.column()
+        col = layout.column()
 
         if rbo.type == 'ACTIVE':
             col.prop(rbo, "mass")
             col.prop(rbo, "enabled", text="Dynamic")
 
-        col = flow.column()
         col.prop(rbo, "kinematic", text="Animated")