From 673c3ee6cfdd21cc40f4b3ad9f72663146e86850 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 5 Apr 2025 19:13:07 +0200 Subject: [PATCH] Fix vertical tab bar messed up regression Fix #16385 --- PowerEditor/src/Notepad_plus.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 41733bc69..69b00fd1d 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -405,9 +405,14 @@ LRESULT Notepad_plus::init(HWND hwnd) TabCtrl_SetItemSize(_subDocTab.getHSelf(), tabDpiDynamicalWidth, tabDpiDynamicalHeight); _mainDocTab.display(); + + if (nppGUI._tabStatus & TAB_VERTICAL) + TabBarPlus::doVertical(); + TabBarPlus::triggerOwnerDrawTabbar(&(_mainDocTab.dpiManager())); drawTabbarColoursFromStylerArray(); + // // Initialize the default foreground & background color //