From 9d02fb15dea38b3759784659740035cbab7679a4 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Tue, 11 Mar 2014 21:20:44 +0000 Subject: [PATCH] Oops needed to set Min Width not Fixed .. otherwise if smaller than window leaves a nasty blank render to the right of the buttonbar. --- src/ChartBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChartBar.cpp b/src/ChartBar.cpp index 7106a87f8..b9b966901 100644 --- a/src/ChartBar.cpp +++ b/src/ChartBar.cpp @@ -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();