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
1 changed files with 1 additions and 2 deletions
|
@ -119,8 +119,7 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context)
|
||||||
VideoDisplay *videoDisplay = new VideoDisplay(visualSubToolBar, isDetached, zoomBox, this, context);
|
VideoDisplay *videoDisplay = new VideoDisplay(visualSubToolBar, isDetached, zoomBox, this, context);
|
||||||
|
|
||||||
wxSizer *toolbarSizer = new wxBoxSizer(wxVERTICAL);
|
wxSizer *toolbarSizer = new wxBoxSizer(wxVERTICAL);
|
||||||
toolbarSizer->Add(visualToolBar, wxSizerFlags());
|
toolbarSizer->Add(visualToolBar, wxSizerFlags(1));
|
||||||
toolbarSizer->AddStretchSpacer();
|
|
||||||
toolbarSizer->Add(visualSubToolBar, wxSizerFlags());
|
toolbarSizer->Add(visualSubToolBar, wxSizerFlags());
|
||||||
|
|
||||||
// Top sizer
|
// Top sizer
|
||||||
|
|
Loading…
Reference in a new issue