diff --git a/src/modules/plasmalnf/PlasmaLnfPage.cpp b/src/modules/plasmalnf/PlasmaLnfPage.cpp
index b652e820c..fc3be4471 100644
--- a/src/modules/plasmalnf/PlasmaLnfPage.cpp
+++ b/src/modules/plasmalnf/PlasmaLnfPage.cpp
@@ -90,6 +90,7 @@ PlasmaLnfPage::PlasmaLnfPage( Config* config, QWidget* parent )
view->setModel( m_config->themeModel() );
view->setItemDelegate( new ThemeDelegate( view ) );
view->setUniformItemSizes( true );
+ view->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
ui->verticalLayout->addWidget( view );
connect( view->selectionModel(),
diff --git a/src/modules/plasmalnf/page_plasmalnf.ui b/src/modules/plasmalnf/page_plasmalnf.ui
index 88d5a39a2..b079013d6 100644
--- a/src/modules/plasmalnf/page_plasmalnf.ui
+++ b/src/modules/plasmalnf/page_plasmalnf.ui
@@ -28,19 +28,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-