From 1a11d8589a0ec898e9a58f896ed5928420a5fdcb Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 27 Jan 2016 18:27:03 +0100 Subject: [PATCH] Fix layout. --- src/modules/partition/gui/ChoicePage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 671c36530..dd8c65972 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -88,7 +88,8 @@ ChoicePage::ChoicePage( QWidget* parent ) m_drivesLayout->setDirection( QBoxLayout::LeftToRight ); BootInfoWidget* bootInfoWidget = new BootInfoWidget( this ); - m_drivesLayout->addWidget( bootInfoWidget ); + m_drivesLayout->insertWidget( 0, bootInfoWidget ); + m_drivesLayout->insertSpacing( 1, CalamaresUtils::defaultFontHeight() / 2 ); m_drivesCombo = new QComboBox( this ); m_mainLayout->setStretchFactor( m_drivesLayout, 0 );