It seems Qt 5.12 changed the behavior of contentHeight to not include any font padding.
BUG: 401842
FIXED-IN: 5.15.0
mart |
Plasma | |
VDG |
It seems Qt 5.12 changed the behavior of contentHeight to not include any font padding.
BUG: 401842
FIXED-IN: 5.15.0
Please someone test with Qt 5.11
The width is kept as otherwise the tooltip doesn't resize properly for some reason.
assigning undefined to height resets it to implicitHeight which includes some padding but not the huge padding Plasma's Label has (which was the main reason for setting contentHeight in the first place)
Before
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
applets/kicker/package/contents/ui/main.qml | ||
---|---|---|
227 | If we do end up going with this patch, I'd like to see comments explaining why these are set to undefined. |
applets/kicker/package/contents/ui/main.qml | ||
---|---|---|
227 | look at https://doc.qt.io/qt-5/properties.html |