From 48a25081edcf2b91e7cf8338d4c09320a6463df5 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Sat, 14 Aug 2010 13:00:05 +0100 Subject: [PATCH] Fix blank space on right of AllPlot. --- src/AllPlot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AllPlot.cpp b/src/AllPlot.cpp index d60db0d91..ab2e4d9a0 100644 --- a/src/AllPlot.cpp +++ b/src/AllPlot.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -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 }