Experimentally add wxEXPAND flags to style/actor/effect controls to possibly fix alignment problems on Mac.

Originally committed to SVN as r2004.
This commit is contained in:
Niels Martin Hansen 2008-03-09 22:54:24 +00:00
parent 1248cd264f
commit f6e12ba05a

View file

@ -142,10 +142,10 @@ SubsEditBox::SubsEditBox (wxWindow *parent,SubtitlesGrid *gridp) : wxPanel(paren
// Top sizer
TopSizer = new wxBoxSizer(wxHORIZONTAL);
//TopSizer->Add(new FloatSpinCtrl(this,-1,wxDefaultPosition,wxSize(40,20),0,-20.0,50.0,0.0,0.5));
TopSizer->Add(CommentBox,0,wxRIGHT | wxALIGN_CENTER,5);
TopSizer->Add(StyleBox,2,wxRIGHT|wxALIGN_CENTER,5);
TopSizer->Add(ActorBox,2,wxRIGHT|wxALIGN_CENTER,5);
TopSizer->Add(Effect,3,wxALIGN_CENTER,5);
TopSizer->Add(CommentBox,0,wxRIGHT | wxALIGN_CENTER|wxEXPAND,5);
TopSizer->Add(StyleBox,2,wxRIGHT|wxALIGN_CENTER|wxEXPAND,5);
TopSizer->Add(ActorBox,2,wxRIGHT|wxALIGN_CENTER|wxEXPAND,5);
TopSizer->Add(Effect,3,wxALIGN_CENTER|wxEXPAND,5);
// Middle sizer
splitLineMode = true;