diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-09-01 19:43:20 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-09-05 11:37:56 +0000 |
commit | c7b8289a706f982c1cf5091a4d86606ec758b05d (patch) | |
tree | 98b9fab4eecaf006773c5441115c10229ed3d393 /src/quicktemplates2/qquickoverlay.cpp | |
parent | 588dc30b44c42b63239085ea5f2817eb3a48995a (diff) |
TextField: improve the implicit size calculation
In general, we don't want TextField to grow while typing, but if there
is no background nor placeholder, use content width as a fallback. Also
take content height into account while calculating the implicit height.
Task-number: QTBUG-55684
Change-Id: Iee0eff6861c3573045036a06d7e53f7fc313fbe8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickoverlay.cpp')
0 files changed, 0 insertions, 0 deletions