More compact controls

The controls in the sidebar are inconsistent; the interval
selector has no spacing or border for a clean look.

This patch updates LTMTool and TrainTool to be more
efficient with the limited space.

A more extensive update is still required to unify all the
chart controls look and feel and get rid of the clunky
layouts with ugly wide buttons.
This commit is contained in:
Mark Liversedge
2011-09-04 01:42:36 +01:00
parent f63573645f
commit 9cffed3d16
4 changed files with 25 additions and 0 deletions

View File

@@ -49,7 +49,10 @@ LTMWindow::LTMWindow(MainWindow *parent, bool useMetricUnits, const QDir &home)
// the controls
QWidget *c = new QWidget;
//c->setContentsMargins(0,0,0,0); // bit of space is helpful
QFormLayout *cl = new QFormLayout(c);
cl->setContentsMargins(0,0,0,0);
cl->setSpacing(0);
setControls(c);
// the popup