From 4550469bb938b51f4a0717e0779deac55076d047 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Fri, 2 Jun 2023 11:47:53 +0300 Subject: [PATCH] Fix incorrect height of Filter line edit PR #19058. --- src/gui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 1ddc56e7e..59640cc13 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -199,6 +199,7 @@ MainWindow::MainWindow(IGUIApplication *app, WindowState initialState) // Torrent filter m_columnFilterEdit = new LineEdit; m_columnFilterEdit->setPlaceholderText(tr("Filter torrents...")); + m_columnFilterEdit->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); m_columnFilterEdit->setFixedWidth(200); m_columnFilterEdit->setContextMenuPolicy(Qt::CustomContextMenu); connect(m_columnFilterEdit, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);