qt6-bb10/examples/sql/sqlbrowser
Marc Mutz 29edacac7a sqlbrowser example: fix ugly margin around ConnectionWidget
When a layout is used to arrange the children of a non-top-level
custom widget, the layout's contentsMargins need to be manually set to
zero to avoid extra empty space around the widgets, misaligning it
w.r.t. its siblings.

Add the necessary call.

Amends 2690822428, which, however,
inherited the missing margin adjustment from older code.

Change-Id: Icd1945a4f2b1635f031e50758ec2f1ec9313ae27
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 15524d1623a1400e4de15e57408e37020d394986)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 101fedb17f1d12ba49d09ac8ac5ca9ba9e28f828)
2025-01-02 19:20:06 +00:00
..
CMakeLists.txt CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
browser.cpp sqlbrowser example: use unique_ptr to hold m_ui 2025-01-02 19:19:54 +00:00
browser.h sqlbrowser example: use explicit / override 2025-01-02 19:20:00 +00:00
browserwidget.ui add strategy support to sqlbrowser example 2012-03-06 06:34:33 +01:00
connectionwidget.cpp sqlbrowser example: fix ugly margin around ConnectionWidget 2025-01-02 19:20:06 +00:00
connectionwidget.h sqlbrowser example: use explicit / override 2025-01-02 19:20:00 +00:00
main.cpp Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
qsqlconnectiondialog.cpp sqlbrowser example: use unique_ptr to hold m_ui 2025-01-02 19:19:54 +00:00
qsqlconnectiondialog.h sqlbrowser example: use explicit / override 2025-01-02 19:20:00 +00:00
qsqlconnectiondialog.ui sqlbrowser example: use idiomatic Qt [3/3]: use form-layout 2025-01-02 19:19:47 +00:00
sqlbrowser.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00