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 //