mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Fix item order in ChoicePage
This commit is contained in:
parent
6bd5736d35
commit
6d60ca5e63
1 changed files with 4 additions and 1 deletions
|
@ -95,8 +95,8 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
||||||
iconSize ) );
|
iconSize ) );
|
||||||
grp->addButton( eraseButton->buttonWidget() );
|
grp->addButton( eraseButton->buttonWidget() );
|
||||||
|
|
||||||
m_itemsLayout->addWidget( alongsideButton );
|
|
||||||
m_itemsLayout->addWidget( eraseButton );
|
m_itemsLayout->addWidget( eraseButton );
|
||||||
|
m_itemsLayout->addWidget( alongsideButton );
|
||||||
m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
||||||
|
|
||||||
if ( osproberEntries.count() == 0 )
|
if ( osproberEntries.count() == 0 )
|
||||||
|
@ -203,6 +203,9 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
||||||
m_itemsLayout->addWidget( somethingElseButton );
|
m_itemsLayout->addWidget( somethingElseButton );
|
||||||
grp->addButton( somethingElseButton->buttonWidget() );
|
grp->addButton( somethingElseButton->buttonWidget() );
|
||||||
|
|
||||||
|
//DEBUG:
|
||||||
|
alongsideButton->show();
|
||||||
|
|
||||||
|
|
||||||
connect( alongsideButton->buttonWidget(), &QRadioButton::toggled,
|
connect( alongsideButton->buttonWidget(), &QRadioButton::toggled,
|
||||||
this, [ this ]( bool checked )
|
this, [ this ]( bool checked )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue