Commit 7dc5f9fd authored by LE BRETON Come's avatar LE BRETON Come

Not sure what this does.

parent 0ec13197
......@@ -189,7 +189,7 @@ dtkWidgetsMenuItemFacade::dtkWidgetsMenuItemFacade(dtkWidgetsMenuItem *source, Q
connect(this, SIGNAL(clicked()), source, SIGNAL(clicked()));
this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
}
dtkWidgetsMenuItemFacade::~dtkWidgetsMenuItemFacade(void)
......
......@@ -246,6 +246,8 @@ void dtkWidgetsMenuBarContainerSlide::touch(dtkWidgetsMenu *m, dtkWidgetsMenuBar
this->layout()->addWidget(facade);
::dtkWidgetsMenuBarHelper::handle(facade->items(), c);
static_cast<QBoxLayout *>(this->layout())->addStretch();
}
void dtkWidgetsMenuBarContainerSlide::touch(dtkWidgetsMenuBar *mb, dtkWidgetsMenuBarContainer *c)
......@@ -263,6 +265,8 @@ void dtkWidgetsMenuBarContainerSlide::touch(dtkWidgetsMenuBar *mb, dtkWidgetsMen
::dtkWidgetsMenuBarHelper::handle(widget->items(), c);
}
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