Skip to content

TextField: fix height change when password dot appears

Password dot character may have different height than standard font characters.
It will then resize the password field on the lock screen, which doesn't look good.

Notice the input field becoming 1px taller,
which makes the logon button become 1px taller and also 1px wider,
which in turn makes the input field 1px narrower:

a

Fixed:

b

Same bug exists in other places where the TextField is used for password input,
e.g. in Plasma's Networks popup when connecting to a WiFi network.

Edited by Piotr Henryk Dabrowski

Merge request reports