Revert r2004, wxEXPAND looks ugly.

Originally committed to SVN as r2005.
This commit is contained in:
Niels Martin Hansen 2008-03-09 23:00:03 +00:00
parent f6e12ba05a
commit 7c8e990766

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|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);
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);
// Middle sizer
splitLineMode = true;