diff options
| author | Kaj Grönholm <kaj.gronholm@qt.io> | 2022-10-18 15:50:33 +0300 |
|---|---|---|
| committer | Kaj Grönholm <kaj.gronholm@qt.io> | 2023-06-21 08:48:58 +0300 |
| commit | 2e1dbd7e0c8081275a92e36a4800c3721c912597 (patch) | |
| tree | 85ce7b5e6b31ad7dfb1cca42235c4dc888f0a722 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 57eeb608dbda01877f8f0451ba676f4638e1040d (diff) | |
Improve SplitView resizing behavior
- Adjust sizes before applying them into items to keep the items
inside minimum and maximum sizes. Also avoids calling items
setWidth/setHeight multiple times during layout.
- Enforce items staying inside SplitView size instead of having
preferred size initially and enfocing only after handle resizes.
- Don't resize handles in componentComplete as sizes are not
correct yet and initial resizing is done in createHandleItem.
- Adjust autotests to pass now that size limits are enforced.
Width getting value of preferredWidth requires polish.
Task-number: QTBUG-89699
Task-number: QTBUG-107836
Pick-to: 6.6
Change-Id: Ifaf3a6b185014216baa0671c6d4912f99465d0d5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
