From e4e1364eaa9f3d5a65c14caa77922111b38b87a5 Mon Sep 17 00:00:00 2001 From: falken10vdl Date: Thu, 11 Dec 2025 15:05:26 +0100 Subject: [PATCH] align underscore below the active tab icon --- src/bonsai/bonsai/bim/ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/ui.py b/src/bonsai/bonsai/bim/ui.py index 4062991aa5..7d24161e23 100644 --- a/src/bonsai/bonsai/bim/ui.py +++ b/src/bonsai/bonsai/bim/ui.py @@ -1004,6 +1004,10 @@ class BIM_PT_tabs(Panel): # Yes, that's right. row_left.alignment = "CENTER" row_left.scale_y = 0.2 + + if not tool.Blender.get_addon_preferences().user_ui_customization: + row_left.prop(aprops, "inactive_tab", text="", icon="BLANK1", emboss=False) + for tab in get_tab_names(): # Draw a little underscore below the active tab icon. if get_tab_visibility(tab): @@ -1012,7 +1016,6 @@ class BIM_PT_tabs(Panel): else: row_left.prop(aprops, "inactive_tab", text="", icon="BLANK1", emboss=False) row_left.prop(aprops, "inactive_tab", text="", icon="BLANK1", emboss=False) # space for Switch - col_right = split.column(align=True) row_right = col_right.row(align=True) row_right.alignment = "RIGHT"