Commit 8a38b72e authored by CABEL Tristan's avatar CABEL Tristan
Browse files

Merge branch 'feature/bug-menubar-height' into 'develop'

Bugfix for gnomon issue number 254: the main window size can not be decreased vertically.

See merge request !57
parents d11a2181 78104e22
Pipeline #132452 passed with stage
in 0 seconds
......@@ -1014,9 +1014,9 @@ void dtkWidgetsMenuBar::setStandalone(bool standalone)
void dtkWidgetsMenuBar::setFixedHeight(int h)
{
QFrame::setFixedHeight(h);
d->c->setFixedHeight(h);
QSize size { d->size, h };
QFrame::resize(size);
d->c->resize(size);
}
void dtkWidgetsMenuBar::setWidth(int width)
......
Supports Markdown
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