summaryrefslogtreecommitdiffstats
path: root/examples/painting/transformations/window.cpp
diff options
context:
space:
mode:
authorWladimir Leuschner <wladimir.leuschner@qt.io>2024-04-17 17:17:39 +0200
committerOliver Wolff <oliver.wolff@qt.io>2024-05-29 20:12:45 +0200
commitb457376c038acc0c1cb9a0966508b4999314ea86 (patch)
tree73b46a5ae6047228ff44b6dbb690be610bf95ae8 /examples/painting/transformations/window.cpp
parent1dd916fec385b0dc03b10baaedb143607ad1737d (diff)
QWindows11Style: Increase min size of QAbstractSpinbox WidgetsHEADdev
With WinUI3 a new layout of the lineedit and buttons was introduced. The buttons are now aligned horizontally instead of vertically. Trying to mimic that layout in widgets results in too few space for the text in the lineedit. This patch increases the minimum width when using the QWindows11Style for QAbstractSpinBox elements and saves the original width in a property in case the style is changed at runtime to restore the original geometry. Fixes: QTBUG-124235 Fixes: QTBUG-124150 Pick-to: 6.7 Change-Id: I8067b338fa4a2c1efd0a1b0644fb8a563601385b Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'examples/painting/transformations/window.cpp')
0 files changed, 0 insertions, 0 deletions