summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-01-02 18:23:39 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-04 10:00:44 -0800
commitde46f2b37cb354f8f7fbd9867800a591f24a6f5f (patch)
tree236cfadcf609327a20c60f753ccc09bc1934629a /CMakeLists.txt
parente856f816f207d4aacb8b54a7205abd6f9b637e36 (diff)
downloadsubsurface-de46f2b37cb354f8f7fbd9867800a591f24a6f5f.tar.gz
QML UI: make profile margin scale proportional to dimensions
The QMLProfile height is specified as ~2/3 (actually 0.66) width in DiveDetailsView.qml. In order to produce an even margin around the profile, the scaling factor reduction for height needs to be 3/2 times that for width. MarginFactor is specified as 0.013 to approximate the margin calculated by commits ef653b4 and 7e2898d for my Galaxy S6. MarginFactor = margin / width = 18 / 1365 = 0.132 Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions