Update #742, attempt fixing the bug. Removing wxEXPAND from some sizers, seems to work fine on Windows. Will test Mac build when tinderbox builds it.

Originally committed to SVN as r2953.
This commit is contained in:
Niels Martin Hansen 2009-05-18 23:37:41 +00:00
parent 6f0c5e6489
commit 5bdcf2f63a

View file

@ -128,8 +128,8 @@ VideoBox::VideoBox(wxWindow *parent)
wxSizer *topTopSizer = new wxBoxSizer(wxHORIZONTAL);
wxSizer *topSizer = new wxBoxSizer(wxVERTICAL);
visualSubToolBar->Show(false);
topTopSizer->Add(visualToolBar,0,wxEXPAND,0);
topTopSizer->Add(videoDisplay,1,wxEXPAND,0);
topTopSizer->Add(visualToolBar,0,0,0);
topTopSizer->Add(videoDisplay,1,0,0);
topSizer->Add(topTopSizer,1,wxEXPAND,0);
topSizer->Add(visualSubToolBar,0,wxEXPAND | wxBOTTOM,4);
topSizer->Add(new wxStaticLine(videoPage),0,wxEXPAND,0);