Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.1
-
None
-
-
a6532e732 (dev), 540848a4e (dev), 302124c03 (dev), 79c9ceef3 (6.7), 492385ca8 (6.7), 837f469c1 (6.7), d2f11cde6 (6.6), f6c21460a (6.6), 80f8023d2 (6.6), e219cf758 (tqtc/lts-6.5), 6bd925f6e (tqtc/lts-6.5), 02ea986d0 (tqtc/lts-6.5)
Description
The following button code worked fine before the Material style change (before Qt 6.5):
Button {
width: 60
text: qsTr("CLEAR")
}
However, when using Qt 6.6.1, "..." is displayed instead of "CLEAR" (note: using "Dense" variant).
Setting Material.roundedScale to Material.ExtraSmallScale has no effect on the text (https://www.qt.io/blog/material-3-changes-in-qt-quick-controls).
Changing the padding setting also seems to have no effect.
Similarly, icons in small buttons are truncated (or disappear). Can't you have small icon buttons anymore?
I found one rather messy workaround, which is to use RoundButtons (which seem to work as before), but then you have to play with radius and width settings to make them equivalent.
By the way, can you override the huge Dialog title font, or are there plans to do this (e.g. have a smaller font for the "Dense" variant)?
For some people, Qt 6.6.1 was the first Qt 6 version functionally equivalent to Qt 5 (e.g. Qt Location) without "showstopping" bugs (e.g. QTBUG-117959), but we now also have to deal with a forced major graphic design change.
If there are no easy equivalent workarounds to make Material migration easier for now, can the old one be put in Qt5Compat, for example?