Unsolved Manage size of UI elements for different platforms
-
Hi
I am developing a new application. From my previous learnings, I would like to have a proper way to control the sizes and layouts of UI elements in QML based on the Screen properties like pixel density, width, height and set it for the entire application. Can someone direct me to a good resource or brief me some ideas on how to go about it.
Thanks
-
-
@jsulm
I have seen this. I wanted an example of how to handle UI element sizes like button dimensions, checkbox dimensions etc for different screen sizes & pixel densities -
@saitej said in Manage size of UI elements for different platforms:
I wanted an example of how to handle UI element sizes like button dimensions, checkbox dimensions etc
Use layouts and check https://doc.qt.io/qt-5/highdpi.html