diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 89649d9b5..a20257db8 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -622,10 +622,10 @@ ChoicePage::updateActionChoicePreview( ChoicePage::Choice choice ) "then drag to resize" ) ); m_selectLabel->show(); - m_afterPartitionSplitterWidget = new PartitionSplitterWidget; + m_afterPartitionSplitterWidget = new PartitionSplitterWidget( m_previewAfterFrame ); layout->addWidget( m_afterPartitionSplitterWidget ); - QLabel* sizeLabel = new QLabel; + QLabel* sizeLabel = new QLabel( m_previewAfterFrame ); layout->addWidget( sizeLabel ); sizeLabel->setWordWrap( true ); connect( m_afterPartitionSplitterWidget, &PartitionSplitterWidget::partitionResized,