diff --git a/ManiVault/src/private/PageActionsWidget.cpp b/ManiVault/src/private/PageActionsWidget.cpp index 642b9526b..84ddaee51 100644 --- a/ManiVault/src/private/PageActionsWidget.cpp +++ b/ManiVault/src/private/PageActionsWidget.cpp @@ -32,6 +32,7 @@ PageActionsWidget::PageActionsWidget(QWidget* parent, const QString& title, bool _layout.addWidget(PageContentWidget::createHeaderLabel(title, title)); _layout.addWidget(&_hierarchyWidget, 1); + _layout.setContentsMargins(0, 0, 0, 0); setLayout(&_layout); diff --git a/ManiVault/src/private/PageTutorialsWidget.cpp b/ManiVault/src/private/PageTutorialsWidget.cpp index f33712648..3b4d93dfc 100644 --- a/ManiVault/src/private/PageTutorialsWidget.cpp +++ b/ManiVault/src/private/PageTutorialsWidget.cpp @@ -16,8 +16,6 @@ PageTutorialsWidget::PageTutorialsWidget(QWidget* parent, const QStringList& tag PageActionsWidget(parent, "Tutorials"), _toolbarAction(this, "Toolbar") { - layout()->setContentsMargins(0, 0, 0, 0); - dynamic_cast(layout())->insertWidget(1, _toolbarAction.createWidget(this)); _toolbarAction.setShowLabels(false); diff --git a/ManiVault/src/private/StartPageGetStartedWidget.cpp b/ManiVault/src/private/StartPageGetStartedWidget.cpp index 647498024..5b240fa2c 100644 --- a/ManiVault/src/private/StartPageGetStartedWidget.cpp +++ b/ManiVault/src/private/StartPageGetStartedWidget.cpp @@ -35,6 +35,8 @@ StartPageGetStartedWidget::StartPageGetStartedWidget(StartPageContentWidget* sta { auto layout = new QVBoxLayout(); + layout->setContentsMargins(0, 0, 0, 0); + layout->addWidget(&_createProjectFromWorkspaceWidget, 3); layout->addWidget(&_createProjectFromDatasetWidget, 3); layout->addWidget(&_tutorialsWidget, 3); diff --git a/ManiVault/src/private/StartPageOpenProjectWidget.cpp b/ManiVault/src/private/StartPageOpenProjectWidget.cpp index eadb11b3d..e69b1a6f4 100644 --- a/ManiVault/src/private/StartPageOpenProjectWidget.cpp +++ b/ManiVault/src/private/StartPageOpenProjectWidget.cpp @@ -29,6 +29,8 @@ StartPageOpenProjectWidget::StartPageOpenProjectWidget(StartPageContentWidget* s { auto layout = new QVBoxLayout(); + layout->setContentsMargins(0, 0, 0, 0); + layout->addWidget(&_openCreateProjectWidget); layout->addWidget(&_recentProjectsWidget);