[Windows][Manager] Fix tab width issue.

wxNB_FIXEDWIDTH flag has effect on Windows only. And when used, it forces the control to have fixed tab width that doesn't use tab title to calculate needed tab width.

Removing wxNB_FIXEDWIDTH flag as not useful in this case.

This fixes #2364.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2021-09-20 12:53:18 +02:00
parent 8d0d460961
commit 6acf765784
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 1 additions and 2 deletions

View File

@ -777,8 +777,7 @@ bool CAdvancedFrame::CreateNotebook() {
pPanel->SetAutoLayout(TRUE);
// initialize notebook
m_pNotebook = new wxNotebook(pPanel, ID_FRAMENOTEBOOK, wxDefaultPosition, wxDefaultSize,
wxNB_FIXEDWIDTH|wxCLIP_CHILDREN);
m_pNotebook = new wxNotebook(pPanel, ID_FRAMENOTEBOOK, wxDefaultPosition, wxDefaultSize, wxCLIP_CHILDREN);
// layout frame panel
wxBoxSizer *pPanelSizer = new wxBoxSizer(wxVERTICAL);