diff --git a/clientgui/ViewResources.cpp b/clientgui/ViewResources.cpp index 985d7ad212..5a2bcd6300 100644 --- a/clientgui/ViewResources.cpp +++ b/clientgui/ViewResources.cpp @@ -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 diff --git a/clientgui/ViewStatistics.cpp b/clientgui/ViewStatistics.cpp index c427a5f8ad..7685480a7c 100644 --- a/clientgui/ViewStatistics.cpp +++ b/clientgui/ViewStatistics.cpp @@ -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);