From da4f8fffcf4340f6a8f3270413011cc7ab5d1a27 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 30 Nov 2020 11:31:44 +0100 Subject: [PATCH] [plasmalnf] Give the theme list plenty of space --- src/modules/plasmalnf/PlasmaLnfPage.cpp | 1 + src/modules/plasmalnf/page_plasmalnf.ui | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) 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 - - - -