UI Nits: Add chart frame on chart

The frame on the chart wasn't shown and it looked ugly
in the add chart dialog.
This commit is contained in:
Mark Liversedge
2013-05-04 09:29:33 +01:00
parent cd864c5ff2
commit 6ac25c87de

View File

@@ -1023,6 +1023,7 @@ GcWindowDialog::GcWindowDialog(GcWinID type, MainWindow *mainWindow) : mainWindo
win = GcWindowRegistry::newGcWindow(type, mainWindow);
chartLayout->addWidget(win);
win->setFrameStyle(QFrame::Box);
// lets not have space for controls if there aren't any
layout->setStretch(0, 100);