summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlbrowser/browser.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-12-31 10:03:41 +0100
committerMarc Mutz <marc.mutz@qt.io>2025-01-02 07:50:50 +0100
commit9c099ef942216d01261c26b60e3727a2a467f12a (patch)
tree434e53cb69fcfdf71fdd9f2801aa2f84796e4637 /examples/sql/sqlbrowser/browser.cpp
parent3419c299369ac1da94ba5710aaf5f5f65c38c33c (diff)
sqlbrowser example: use idiomatic Qt [3/3]: use form-layout
The old code used a grid layout inside the QGroupBox, but the design with labels in the first and edit-widgets in the second column lends itself to a QFormLayout, which adapts the alignment of the widgets to the platform style, so use that. Amends 2690822428deec4f0c08f4d118d69a7c6036369e, which, however, inherited all of the above from even older code. Pick-to: 6.9 6.8 Change-Id: I528f0ce9d8cb7a997fbfabcdca887c059f571b38 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/sql/sqlbrowser/browser.cpp')
0 files changed, 0 insertions, 0 deletions