summaryrefslogtreecommitdiffstats
path: root/android-mobile
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-12-31 00:22:30 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-30 07:26:02 -0800
commit7f22984d18d6a6fa3b799ff7d1810710864aa828 (patch)
treec7143cc5d9f9324990ef7a8d0e11eb517c390ff5 /android-mobile
parent2cce4ec3a4f41fbefd72577ff2f38e4310b582c2 (diff)
downloadsubsurface-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 'android-mobile')
0 files changed, 0 insertions, 0 deletions