mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make font label scale a per axis property
This way the partial pressure graph can have smaller pressure labels than all the other labels on the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
980737221d
commit
6be62c1d90
3 changed files with 20 additions and 3 deletions
|
@ -132,6 +132,7 @@ void ProfileWidget2::setupItemOnScene()
|
|||
gasYAxis->setTickSize(1);
|
||||
gasYAxis->setMinimum(0);
|
||||
gasYAxis->setModel(dataModel);
|
||||
gasYAxis->setFontLabelScale(0.7);
|
||||
|
||||
temperatureAxis->setOrientation(DiveCartesianAxis::BottomToTop);
|
||||
temperatureAxis->setTickSize(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue