diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2015-12-31 00:22:30 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-30 07:26:02 -0800 |
commit | 7f22984d18d6a6fa3b799ff7d1810710864aa828 (patch) | |
tree | c7143cc5d9f9324990ef7a8d0e11eb517c390ff5 /export-html.cpp | |
parent | 2cce4ec3a4f41fbefd72577ff2f38e4310b582c2 (diff) | |
download | subsurface-7f22984d18d6a6fa3b799ff7d1810710864aa828.tar.gz |
QML UI: scale profile in two stages
Scale the QML profile in two stages. Firstly, scale to fit. Secondly, scale
again to 95% to create a margin around the profile.
The previous method scales to fit a create a margin in one step. It appears
more elegant, and the margin is calculated more rationally. Unfortunately on
some devices, including mine, the resulting profile is cropped for no obvious
reason.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'export-html.cpp')
0 files changed, 0 insertions, 0 deletions