aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlMacros.cmake
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-08-25 08:54:40 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-27 16:52:42 +0000
commitb002a1a7f1f27dfd37995a05dfcc0a215915daa7 (patch)
tree4317e079d223df79cc302f88aa8983c5929a5108 /src/qml/Qt6QmlMacros.cmake
parente6ac480b45a021c2450cd6bb18f2e383f63da705 (diff)
DefaultGroupBox: don't assign bindings to the delegate's width and height
We should never assign anything to a delegate's width and height from the style. Those assignments will anyway be overwritten by QQuickControl upon a relayout. Instead, we should normally use implicitWidth and implicitHeight. But, special for a QQuickStyleItem, implicit size is already set from c++, based on qstyle. So remove the assignments from QML. Change-Id: Ied941e0b40e83e0a2771bb1cd7cb517cba8684d1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit aaa0ef458ae09d48dd2eccb55fdcfeebfcbb1e3b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
0 files changed, 0 insertions, 0 deletions