mirror of https://github.com/odrling/Aegisub
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:
parent
1248cd264f
commit
f6e12ba05a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue