From 41a722579460ad9d1f1bdd60abb9f366ff25993c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Jul 2018 15:47:00 +0200 Subject: [PATCH] UI: align header menus to space them closely --- release/scripts/modules/bpy_types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 6cca60bd49e..ee49e8a6630 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -969,7 +969,8 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): # helper function for (optionally) collapsed header menus # only usable within headers if context.area.show_menus: - cls.draw_menus(layout, context) + # Align menus to space them closely. + cls.draw_menus(layout.row(align=True), context) else: layout.menu(cls.__name__, icon='COLLAPSEMENU')