summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-12-18 16:39:34 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-12-19 06:06:14 +0100
commitf3fb89ba298e1741320d8bfac9cbd0d503373bff (patch)
tree86d73060497357f6edea58ebcb26a8b74919f4dc /doc
parent4a19e97f70994bc8bb67e26533d18266b8a615bc (diff)
Update Sliders example
Simplify the "responsive layout" implementation. Just use a QBoxLayout with changing direction instead of repopulating a QGridLayout, and change the orientation of one set of sliders instead of creating two sets in a stacked layout. Simplify the resizeEvent() implementation accordingly. Update the documentation snippet text to match the code, and document the resizeEvent() override. Pick-to: 6.7 6.6 Fixes: QTBUG-119977 Change-Id: I73a1bb215c956fa283291ebf0ea45ff9a975c727 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/images/sliders-example.pngbin18048 -> 23871 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/doc/src/images/sliders-example.png b/doc/src/images/sliders-example.png
index d2a9c4804d..532f745dfa 100644
--- a/doc/src/images/sliders-example.png
+++ b/doc/src/images/sliders-example.png
Binary files differ