Skip to content

Using TouchArea with Image { image-fit: contain; } inconvenient. Am I missing something? #4473

Answered by kaarelen
kaarelen asked this question in General
Discussion options

You must be logged in to vote

@ogoffart final solution - forget about image and just scale size of TouchArea same way, as u suggested before for image. In my case its whole overlay, not just TouchArea, but idea is the same.

Thoughts about why u had not any issues with that, and I had - probably u have a lot more powerful device, so in your case performance is degrading too, but fps still higher than 60 and my 10 years old pc with weak CPU just dies from this load. So that's why.

Writing here just to provide info for next generations (for me, when i will forget this solution 0)0))

Replies: 6 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kaarelen
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@kaarelen
Comment options

@ogoffart
Comment options

@kaarelen
Comment options

@kaarelen
Comment options

Answer selected by kaarelen
@kaarelen
Comment options

@bjorn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants