Fix layout in partitioning choice page.

main
Teo Mrnjavac 10 years ago
parent faa39e1746
commit 045d9cdf8c

@ -101,6 +101,7 @@ ChoicePage::init( PartitionCoreModule* core, const QStringList& osproberLines )
m_itemsLayout->addWidget( alongsideButton ); m_itemsLayout->addWidget( alongsideButton );
m_itemsLayout->addWidget( eraseButton ); m_itemsLayout->addWidget( eraseButton );
m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
cDebug() << "Osprober lines, clean:\n" << m_osproberLines.join( '\n' ); cDebug() << "Osprober lines, clean:\n" << m_osproberLines.join( '\n' );
@ -204,14 +205,10 @@ ChoicePage::init( PartitionCoreModule* core, const QStringList& osproberLines )
alongsideButton->hide(); alongsideButton->hide();
} }
m_itemsLayout->addStretch();
QFrame* hLine = new QFrame; QFrame* hLine = new QFrame;
hLine->setFrameStyle( QFrame::HLine ); hLine->setFrameStyle( QFrame::HLine );
m_itemsLayout->addWidget( hLine ); m_itemsLayout->addWidget( hLine );
m_itemsLayout->addStretch();
PrettyRadioButton* somethingElseButton = new PrettyRadioButton; PrettyRadioButton* somethingElseButton = new PrettyRadioButton;
somethingElseButton->setText( tr( "<b>Something else</b><br/>" somethingElseButton->setText( tr( "<b>Something else</b><br/>"
"You can create or resize partitions yourself, or choose " "You can create or resize partitions yourself, or choose "

Loading…
Cancel
Save