From a943d55063b43a71ab6cdead6cd2a66a88e82d58 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac <teo@kde.org> Date: Thu, 4 Sep 2014 19:53:20 +0200 Subject: [PATCH] Size policy on erase page. --- src/modules/partition/gui/EraseDiskPage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/gui/EraseDiskPage.cpp b/src/modules/partition/gui/EraseDiskPage.cpp index 94ebb50fe1..a6d844a5a5 100644 --- a/src/modules/partition/gui/EraseDiskPage.cpp +++ b/src/modules/partition/gui/EraseDiskPage.cpp @@ -53,7 +53,9 @@ EraseDiskPage::EraseDiskPage( QWidget* parent ) m_drivesView->setGridSize( QSize( CalamaresUtils::defaultFontHeight() * 8, m_drivesView->iconSize().height() + CalamaresUtils::defaultFontHeight() * 4 ) ); - m_drivesView->setMinimumHeight( m_drivesView->gridSize().height() + 2 ); + m_drivesView->setMinimumHeight( m_drivesView->gridSize().height() + + CalamaresUtils::defaultFontHeight() / 2 ); + m_drivesView->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ); mainLayout->addStretch(); setNextEnabled( false ); -- GitLab