Improving look & feel on Android
-
wrote on 18 Jun 2024, 04:17 last edited by
As it stands, my project works well on computers, but on Android, it doesn't look right. Everything is way too small, some icons are missing, dialogs are too small, and the keyboard covers text inputs at the bottom of the screen.
I need ways to fix these issues without compromising the desktop experience... in other words, I want:
- Uniform font size between Android and Desktop
- Uniform dialog size ""
- Bundled icons (future plans--no need for help here)
- Automatic scrolling to show text inputs even when the keyboard might cover them
What are my best ways to achieve this?
Running Qt 6.8.0-beta1
-
wrote on 13 Sept 2024, 18:44 last edited by
I ended up solving this by using QML instead.
-
wrote on 18 Jun 2024, 04:19 last edited by
Some additional oddities:
- Theme is all white, despite the theme being fine on Desktop (gray-ish overtone)
- Scroll areas don't work at all?
-
As it stands, my project works well on computers, but on Android, it doesn't look right. Everything is way too small, some icons are missing, dialogs are too small, and the keyboard covers text inputs at the bottom of the screen.
I need ways to fix these issues without compromising the desktop experience... in other words, I want:
- Uniform font size between Android and Desktop
- Uniform dialog size ""
- Bundled icons (future plans--no need for help here)
- Automatic scrolling to show text inputs even when the keyboard might cover them
What are my best ways to achieve this?
Running Qt 6.8.0-beta1
@swurl said in Improving look & feel on Android:
Running Qt 6.8.0-beta1
Any reason to use a beta version?
Did you try with latest stable version (6.7.x)? -
@swurl said in Improving look & feel on Android:
Running Qt 6.8.0-beta1
Any reason to use a beta version?
Did you try with latest stable version (6.7.x)?wrote on 18 Jun 2024, 16:09 last edited by@jsulm said in Improving look & feel on Android:
@swurl said in Improving look & feel on Android:
Running Qt 6.8.0-beta1
Any reason to use a beta version?
Did you try with latest stable version (6.7.x)?No particular reason, but I double-checked and all of these issues are present on 6.7.1 as well.
-
wrote on 20 Jun 2024, 19:07 last edited by
It's also worth mentioning this is written using Desktop Qt (C++) and I'm not writing anything in Qt Quick.
-
wrote on 30 Jun 2024, 23:31 last edited by
Bumping to post more results.
Scrolling doesn't seem to work properly.
When pressing something with a
mousePressEvent
and then trying to scroll, that event is triggered.Would also like to know how to fix these.
-
wrote on 13 Sept 2024, 18:44 last edited by
I ended up solving this by using QML instead.
-