Skip to content

Commit

Permalink
Graph panel widget: can now customise the font size of our X and Y ax…
Browse files Browse the repository at this point in the history
…es (#2271).
  • Loading branch information
agarny committed Jan 13, 2020
1 parent a8f292b commit 41c85a2
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -2489,6 +2489,11 @@ void GraphPanelPlotWidget::setFontSizeAxisX(int pFontSizeAxisX)

setAxisFont(QwtPlot::xBottom, fontAxisX);
setTitleAxisX(titleAxisX());

// To change the font size of our X axis may have some effects on the
// alignment with our neighbours, so update ourselves

updateGui(false, true);
}
}

Expand Down

0 comments on commit 41c85a2

Please sign in to comment.