FlyingCarpet icon indicating copy to clipboard operation
FlyingCarpet copied to clipboard

Fix layout for different font sizes on Android

Open spieglt opened this issue 1 year ago • 3 comments

Someone emailed me noting that the layout is wrong when using a larger font size on Android. Screenshot_20240401-180507

spieglt avatar Apr 02 '24 01:04 spieglt

Hi, I second this, especially as for the QR code being displayed under the text. When I try to share files with people having larger font set on their Android devices, the QR code cannot be read which prevents sending. To circumvent this - people have to change their screen size font every time sharing/receiving files. There could be a possible quickfix to bring the QR code component Z index up so the layer is always at the top if preparing assets for different resolutions is not an option at the moment.

hexnt avatar Sep 17 '24 07:09 hexnt

I'm not sure how to do layout properly for larger font sizes, I'll have to research. And I won't get to this until after I'm done with the Bluetooth rewrite. However, once that's out, if both devices have Bluetooth, they won't need to use a QR code, which will hopefully be a workaround for some people at least.

spieglt avatar Sep 20 '24 14:09 spieglt

Adjusting the Z index is a good idea, will keep it in mind. Thanks.

spieglt avatar Sep 20 '24 14:09 spieglt

Version 9 uses bringToFront() when the QR code is created so that it will display over the text if it's crowded. Beyond that I'm not sure what I can do as on a small enough screen, with a large enough font, overlapping or abbreviating seems inevitable.

spieglt avatar Mar 27 '25 15:03 spieglt