[Bf-blender-cvs] [8e4bd7f87e4] temp-checkbox-layout-tweaks: Use column header for Armature Viewport Display panel.

William Reynish noreply at git.blender.org
Mon Apr 13 15:05:55 CEST 2020


Commit: 8e4bd7f87e48052e27d917367e65e36f4decd2ff
Author: William Reynish
Date:   Mon Apr 13 15:04:56 2020 +0200
Branches: temp-checkbox-layout-tweaks
https://developer.blender.org/rB8e4bd7f87e48052e27d917367e65e36f4decd2ff

Use column header for Armature Viewport Display panel.

===================================================================

M	release/scripts/startup/bl_ui/properties_data_armature.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py
index d44af702d46..1376920b953 100644
--- a/release/scripts/startup/bl_ui/properties_data_armature.py
+++ b/release/scripts/startup/bl_ui/properties_data_armature.py
@@ -84,17 +84,12 @@ class DATA_PT_display(ArmatureButtonsPanel, Panel):
 
         layout.prop(arm, "display_type", text="Display As")
 
-        flow = layout.grid_flow(row_major=False, columns=0, even_columns=False, even_rows=False, align=True)
-        col = flow.column()
+        col = layout.column(heading = "Show")
         col.prop(arm, "show_names", text="Names")
-        col = flow.column()
         col.prop(arm, "show_axes", text="Axes")
-        col = flow.column()
         col.prop(arm, "show_bone_custom_shapes", text="Shapes")
-        col = flow.column()
         col.prop(arm, "show_group_colors", text="Group Colors")
         if ob:
-            col = flow.column()
             col.prop(ob, "show_in_front", text="In Front")



More information about the Bf-blender-cvs mailing list