[PATCH] QML UI: scale profile in two stages

Dirk Hohndel dirk at hohndel.org
Wed Dec 30 07:41:10 PST 2015


> On Dec 30, 2015, at 5:22 AM, Rick Walsh <rickmwalsh at gmail.com> wrote:
> 
> 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.

This does create a bigger margin than I want on some of the larger devices, but as you point out, it appears to work which beats the hell out of anything I achieved in three days of poking at this.

Well done, Rick! Again.

Can I point you at a dozen more issues with Subsurface-mobile since you clearly are the more competent person to work on this? :-)

New binaries are up on the daily download site and should percolate to the Google Play store eventually.

Incidentally, those are also built with Qt 5.6 (current master). Since none of my approaches worked I figured I'd try to see if anything had changed with the very latest Qt and built the Android cross build infrastructure from source (a very entertaining endeavor, I might add). But I verified that Rick's patch fixes things with 5.5.1 as well.

/D


More information about the subsurface mailing list