Discussion:
[Interest] Qt6 5.12 RC - QQC2 - Material style - Android Button Font size much smaller as 5.11
ekke
2018-11-27 10:57:38 UTC
Permalink
Just noticed that on Android the QQC2 Button Font Size is much smaller
as before.

here are my settings:

qputenv("QT_QUICK_CONTROLS_STYLE","Material");

even adding Variant explicitely helps:

qputenv("QT_QUICK_CONTROLS_MATERIAL_VARIANT","Normal");


is there something else I must do ?
noticed the same on Windows - iOS looks good.

ekke
Mitch Curtis
2018-11-27 11:33:16 UTC
Permalink
-----Original Message-----
Sent: Tuesday, 27 November 2018 11:58 AM
Subject: [Interest] Qt6 5.12 RC - QQC2 - Material style - Android Button Font
size much smaller as 5.11
Just noticed that on Android the QQC2 Button Font Size is much smaller as
before.
qputenv("QT_QUICK_CONTROLS_STYLE", "Material");
qputenv("QT_QUICK_CONTROLS_MATERIAL_VARIANT", "Normal");
So this fixes it? I would assume that the Dense variant is being (incorrectly) used in that case.

There was another bug report recently about font size - I wonder if it's related:

https://bugreports.qt.io/browse/QTBUG-71902
is there something else I must do ?
noticed the same on Windows - iOS looks good.
ekke
ekke
2018-11-27 11:41:52 UTC
Permalink
Post by Mitch Curtis
-----Original Message-----
Sent: Tuesday, 27 November 2018 11:58 AM
Subject: [Interest] Qt6 5.12 RC - QQC2 - Material style - Android Button Font
size much smaller as 5.11
Just noticed that on Android the QQC2 Button Font Size is much smaller as
before.
qputenv("QT_QUICK_CONTROLS_STYLE", "Material");
qputenv("QT_QUICK_CONTROLS_MATERIAL_VARIANT", "Normal");
So this fixes it?
No - it doesn't.

Just tried to set "Dense" and it's the same small size as for "Normal"
Post by Mitch Curtis
I would assume that the Dense variant is being (incorrectly) used in that case.
https://bugreports.qt.io/browse/QTBUG-71902
the screenshots there are from Windows, where I also noticed the too
small Button fonts

ekke

Loading...