mirror of https://github.com/BOINC/boinc.git
Force LTR layout on statistics and disk tabs.
This commit is contained in:
parent
51047f275a
commit
62194a1909
|
@ -89,6 +89,8 @@ CViewResources::CViewResources(wxNotebook* pNotebook) :
|
|||
CtrlBOINCPart.SetValue(1);
|
||||
CtrlBOINCPart.SetColour(wxColour(255,255,255));
|
||||
m_pieCtrlBOINC->m_Series.Add(CtrlBOINCPart);
|
||||
m_pieCtrlTotal->SetLayoutDirection(wxLayout_LeftToRight);
|
||||
CtrlBOINCPart->SetLayoutDirection(wxLayout_LeftToRight);
|
||||
m_pieCtrlBOINC->Refresh();
|
||||
|
||||
//init the flexGrid
|
||||
|
|
|
@ -1945,6 +1945,8 @@ CViewStatistics::CViewStatistics(wxNotebook* pNotebook) :
|
|||
m_PaintStatistics = new CPaintStatistics(this, ID_LIST_STATISTICSVIEW, wxDefaultPosition, wxSize(-1, -1), 0);
|
||||
wxASSERT(m_PaintStatistics);
|
||||
|
||||
m_pTaskPane->SetLayoutDirection(wxLayout_LeftToRight);
|
||||
m_PaintStatistics->SetLayoutDirection(wxLayout_LeftToRight);
|
||||
itemFlexGridSizer->Add(m_pTaskPane, 1, wxGROW|wxALL, 1);
|
||||
itemFlexGridSizer->Add(m_PaintStatistics, 1, wxGROW|wxALL, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue