mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 17:39:58 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user