From ed49749baef18387deb53850b0ad33a2f5fc9cbf Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 25 Jan 2012 11:53:41 +0000 Subject: [PATCH] MGR: Fix sizes of task panes and buttons, elapsing button text if needed svn path=/trunk/boinc/; revision=25148 --- clientgui/BOINCTaskCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/BOINCTaskCtrl.cpp b/clientgui/BOINCTaskCtrl.cpp index fa37d164a0..8cac2104cf 100644 --- a/clientgui/BOINCTaskCtrl.cpp +++ b/clientgui/BOINCTaskCtrl.cpp @@ -33,12 +33,12 @@ CBOINCTaskCtrl::CBOINCTaskCtrl() {} CBOINCTaskCtrl::CBOINCTaskCtrl(CBOINCBaseView* pView, wxWindowID iTaskWindowID, wxInt32 iTaskWindowFlags) : - wxScrolledWindow(pView, iTaskWindowID, wxDefaultPosition, wxSize(200, -1), iTaskWindowFlags) + wxScrolledWindow(pView, iTaskWindowID, wxDefaultPosition, wxSize(TASKPANEWIDTH, -1), iTaskWindowFlags) { m_pParent = pView; m_pSizer = NULL; - SetVirtualSize( 200, 1000 ); + SetVirtualSize( TASKPANEWIDTH, 1000 ); EnableScrolling(false, true); SetScrollRate( 0, 10 );