Oops needed to set Min Width not Fixed

.. otherwise if smaller than window leaves a nasty
   blank render to the right of the buttonbar.
This commit is contained in:
Mark Liversedge
2014-03-11 21:20:44 +00:00
parent 0c30e93260
commit 9d02fb15de

View File

@@ -173,7 +173,7 @@ ChartBar::tidy()
#endif
width += button->geometry().width() + 2;
}
buttonBar->setFixedWidth(width);
buttonBar->setMinimumWidth(width);
if (buttonBar->width() > scrollArea->width()) {
left->show(); right->show();