textfield height based only on clear text

Authored by mart on Mar 8 2019, 2:40 PM.

Description

textfield height based only on clear text

Summary:
as the implicit height could change when switching to password mode,
use a textmetrics which always computes it from the visible text

BUG:399155

Test Plan: height doesn't change

Reviewers: Plasma, ngraham, rooty

Reviewed By: ngraham, rooty

Subscribers: sitter, rooty, ngraham, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D19599

Details

Committed
martMar 8 2019, 2:40 PM
Reviewer
ngraham
Differential Revision
D19599: textfield height based only on clear text
Parents
R242:fa8b766eb088: bind alternateBackgroundColor
Branches
Unknown
Tags
Unknown