mirror of https://github.com/BOINC/boinc.git
[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:
parent
8d0d460961
commit
6acf765784
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue