Problem with AA_EnableHighDpiScaling and TableView (Textsize)
-
Hi,
I've got a problem with the height and text size of rows in a table.
I'm Using Qt 5.8 and the Tableview example (Qt\Examples\Qt-5.8\quickcontrols\controls\tableview)int main(int argc, char *argv[]) { //This new line is causing the offense: QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QtQuickControlsApplication app(argc, argv);When the attribute AA_EnableHighDpiScaling is set, buttons and texts have a nice size.
The problem is that the rows are nearly three times higher than buttons.
Is this a bug or a mistake by me?
Greetings Grisu -
Hi,
You should also add which platform you are running on.
-
What if you disable it for the failing platforms ?
-
-
Ok,
I reopened it. After one week I realized, that I need the AA_EnableHighDpiScaling attribute, because without it there are a lot of other problems with QtQuick Controls on Android.I opened a bug about this problem: QTBUG-62338
Does someone know an alternativ for the TableView?
This is how the Tableview looks with the Attribute on Android

This is how the Tableview looks without the Attribute on Android
