diff options
author | hjk <hjk@qt.io> | 2023-04-27 08:24:43 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-05-03 13:44:02 +0000 |
commit | 70b02d23e1a32a1c4911644cb73b7247430a4416 (patch) | |
tree | c464816c62fd74a30cf0b00ad74ede6e05117407 /src/plugins/scxmleditor/common/shapestoolbox.cpp | |
parent | 3face235d958b6601288f7d4675c39dbcf7559f7 (diff) | |
download | qt-creator-70b02d23e1a32a1c4911644cb73b7247430a4416.tar.gz |
LayoutBuilder: Rework
Everying is a LayoutItem now, and everything is split into
a proper setup and execution phase.
Execution happens only via LayoutBuilder (directly or via
convenience wrappers in LayoutItem).
No direct access to the widget in creation, funnel out is
via the new bindTo() facility.
Change-Id: I7eb38fd736ae57a68f9a72a6add5c767da82b49f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/scxmleditor/common/shapestoolbox.cpp')
-rw-r--r-- | src/plugins/scxmleditor/common/shapestoolbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/scxmleditor/common/shapestoolbox.cpp b/src/plugins/scxmleditor/common/shapestoolbox.cpp index 1343859cc6..a0354d0bce 100644 --- a/src/plugins/scxmleditor/common/shapestoolbox.cpp +++ b/src/plugins/scxmleditor/common/shapestoolbox.cpp @@ -31,8 +31,9 @@ ShapesToolbox::ShapesToolbox(QWidget *parent) using namespace Layouting; Column { + spacing(0), scrollArea, - }.setSpacing(0).attachTo(this, WithoutMargins); + }.attachTo(this, WithoutMargins); } void ShapesToolbox::setUIFactory(ScxmlEditor::PluginInterface::ScxmlUiFactory *factory) |