From 4ee9f68cebce5730046e0b14114ba21ad18a30e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 2 Jul 2014 16:38:57 +0200 Subject: [PATCH] Remove the outer margin of step widgets --- src/calamares/ViewManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calamares/ViewManager.cpp b/src/calamares/ViewManager.cpp index d0e9521d6..8b390149c 100644 --- a/src/calamares/ViewManager.cpp +++ b/src/calamares/ViewManager.cpp @@ -85,6 +85,11 @@ ViewManager::addViewStep( ViewStep* step ) { step->setParent( this ); m_steps.append( step ); + QLayout* layout = step->widget()->layout(); + if ( layout ) + { + layout->setContentsMargins( 0, 0, 0, 0 ); + } m_stack->addWidget( step->widget() ); connect( step, &ViewStep::nextStatusChanged,