Fix vertical tab bar messed up regression

Fix #16385
This commit is contained in:
Don Ho 2025-04-05 19:13:07 +02:00
parent f7884726cf
commit 673c3ee6cf

View File

@ -405,9 +405,14 @@ LRESULT Notepad_plus::init(HWND hwnd)
TabCtrl_SetItemSize(_subDocTab.getHSelf(), tabDpiDynamicalWidth, tabDpiDynamicalHeight); TabCtrl_SetItemSize(_subDocTab.getHSelf(), tabDpiDynamicalWidth, tabDpiDynamicalHeight);
_mainDocTab.display(); _mainDocTab.display();
if (nppGUI._tabStatus & TAB_VERTICAL)
TabBarPlus::doVertical();
TabBarPlus::triggerOwnerDrawTabbar(&(_mainDocTab.dpiManager())); TabBarPlus::triggerOwnerDrawTabbar(&(_mainDocTab.dpiManager()));
drawTabbarColoursFromStylerArray(); drawTabbarColoursFromStylerArray();
// //
// Initialize the default foreground & background color // Initialize the default foreground & background color
// //