diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-06-04 10:04:34 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-06-04 15:53:14 +0000 |
commit | e23c0978043ed2e03c94be9fb4afec17f530b589 (patch) | |
tree | 9b60239e165672b4ea6b656a96a5b2eaf0f51d6a /src/imports/nativestyle/items/qquickstyleitem.cpp | |
parent | 53bfe56fc72000276c4f066de64ad1296bad496b (diff) |
Native style: let DefaultTextField have correct contentRect and size
Set implicitWidth/Height to be the same as in TextField.qml in the
default style (and the same for TextArea). And fix the mac style to
return correct values when calculating the minimum size. Combined, this
should ensure that we improve how we take the content size into account
when calculting the implicit size of a TextField (especially on macOS).
Change-Id: I39bc8bb0f238dd29d5fe33fc32d888b82d020b0e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/nativestyle/items/qquickstyleitem.cpp')
0 files changed, 0 insertions, 0 deletions