mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix blank space on right of AllPlot.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <assert.h>
|
||||
#include <qwt_plot_curve.h>
|
||||
#include <qwt_plot_grid.h>
|
||||
#include <qwt_plot_layout.h>
|
||||
#include <qwt_plot_marker.h>
|
||||
#include <qwt_text.h>
|
||||
#include <qwt_legend.h>
|
||||
@@ -257,6 +258,9 @@ AllPlot::AllPlot(AllPlotWindow *parent, MainWindow *mainWindow):
|
||||
grid->enableX(false);
|
||||
grid->attach(this);
|
||||
|
||||
// get rid of nasty blank space on right of the plot
|
||||
plotLayout()->setAlignCanvasToScales(true);
|
||||
|
||||
configChanged(); // set colors
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user