mirror of https://github.com/odrling/Aegisub
Make the visual typesetting toolbar use all available space
When toolbars actually have a background (as on OS X), the stretch spacer was very ugly, and there's no different on platforms without a background. Originally committed to SVN as r6880.
This commit is contained in:
parent
cde9a34425
commit
571752a955
|
@ -119,8 +119,7 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context)
|
|||
VideoDisplay *videoDisplay = new VideoDisplay(visualSubToolBar, isDetached, zoomBox, this, context);
|
||||
|
||||
wxSizer *toolbarSizer = new wxBoxSizer(wxVERTICAL);
|
||||
toolbarSizer->Add(visualToolBar, wxSizerFlags());
|
||||
toolbarSizer->AddStretchSpacer();
|
||||
toolbarSizer->Add(visualToolBar, wxSizerFlags(1));
|
||||
toolbarSizer->Add(visualSubToolBar, wxSizerFlags());
|
||||
|
||||
// Top sizer
|
||||
|
|
Loading…
Reference in New Issue