Commit 1f286c0a authored by WINTZ Julien's avatar WINTZ Julien

Final tweaks ... for now.

parent 7624444e
......@@ -262,6 +262,8 @@ dtkWidgetsMenuBarContainerSlide::~dtkWidgetsMenuBarContainerSlide(void)
void dtkWidgetsMenuBarContainerSlide::touch(dtkWidgetsMenu *m, dtkWidgetsMenuBarContainer *c)
{
dtkWidgetsMenuFacade *facade = new dtkWidgetsMenuFacade(m);
this->layout()->addWidget(new dtkWidgetsMenuItemSpacerFacade(::margin/2, ::margin/2, this));
this->layout()->addWidget(facade);
::dtkWidgetsMenuBarHelper::handle(facade->items(), c);
......@@ -285,6 +287,8 @@ void dtkWidgetsMenuBarContainerSlide::touch(dtkWidgetsMenuBar *mb, dtkWidgetsMen
}
this->layout()->addWidget(new dtkWidgetsMenuItemSpacerFacade(::margin/2, ::margin/2, this));
static_cast<QBoxLayout *>(this->layout())->addStretch();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment