MGR: Fix sizes of task panes and buttons, elapsing button text if needed

svn path=/trunk/boinc/; revision=25148
This commit is contained in:
Charlie Fenton 2012-01-25 11:53:41 +00:00
parent 36ebfcd176
commit ed49749bae
1 changed files with 2 additions and 2 deletions

View File

@ -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 );