aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/nativestyle/items/qquickstyleitem.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-06-04 10:04:34 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-06-04 15:53:14 +0000
commite23c0978043ed2e03c94be9fb4afec17f530b589 (patch)
tree9b60239e165672b4ea6b656a96a5b2eaf0f51d6a /src/imports/nativestyle/items/qquickstyleitem.cpp
parent53bfe56fc72000276c4f066de64ad1296bad496b (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