D19595: use a TextMetrics for height

2019-03-07 Thread Harald Sitter
sitter added a comment. I think this is the wrong TextField for SDDM/kscreenlocker actually. They use PlasmaComponents 2, which judging by my printf debugging isn't loading that particular TextField.qml. TextFieldStyle.qml seems to be what's loaded there, however when applying the chang

D19595: use a TextMetrics for height

2019-03-07 Thread Nathaniel Graham
ngraham added a comment. Hmm, this does not actually fix the problem for me in Neon with all default font settings. The password field still gets taller when the first character of the password is typed. REPOSITORY R858 Qt Quick Controls 2: Desktop Style REVISION DETAIL https://phabrica

D19595: use a TextMetrics for height

2019-03-07 Thread Marco Martin
mart created this revision. mart added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. mart requested review of this revision. REVISION SUMMARY as contentHeight could change when switching to password mode, use a textmetrics which always computes it