Commit d3f1708f authored by Olivier Teulière's avatar Olivier Teulière

* modules/gui/wxwindows/interface.cpp: small fix for the size of the windows

parent 59b0ce48
...@@ -443,7 +443,8 @@ void Interface::CreateOurToolBar() ...@@ -443,7 +443,8 @@ void Interface::CreateOurToolBar()
toolbar_sizer->Add( toolbar, 1, 0, 0 ); toolbar_sizer->Add( toolbar, 1, 0, 0 );
toolbar_sizer->Layout(); toolbar_sizer->Layout();
frame_sizer->SetMinSize( toolbar_sizer->GetMinSize().GetWidth()*2, -1 ); // '7' is the number of buttons on the toolbar, '3' is arbitrary :)
frame_sizer->SetMinSize( TOOLBAR_BMP_WIDTH * 7 * 3, -1 );
#if !defined(__WXX11__) #if !defined(__WXX11__)
/* Associate drop targets with the toolbar */ /* Associate drop targets with the toolbar */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment