Marc Mutz 101fedb17f 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 2690822428deec4f0c08f4d118d69a7c6036369e, which, however,
inherited the missing margin adjustment from older code.

Pick-to: 6.8
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>
2025-01-02 09:57:48 +00:00
..
2024-10-29 15:17:52 +02:00
2023-12-14 20:06:32 +01:00
2022-05-16 16:37:38 +02:00

Qt provides extensive database interoperability, with support for products
from both open source and proprietary vendors.

SQL support is integrated with Qt's model/view architecture, making it easier
to provide GUI integration for your database applications.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.