Browse Source

Fix incorrect height of Filter line edit

PR #19058.
adaptive-webui-19844
Vladimir Golovnev 1 year ago committed by GitHub
parent
commit
4550469bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/gui/mainwindow.cpp

1
src/gui/mainwindow.cpp

@ -199,6 +199,7 @@ MainWindow::MainWindow(IGUIApplication *app, WindowState initialState)
// Torrent filter // Torrent filter
m_columnFilterEdit = new LineEdit; m_columnFilterEdit = new LineEdit;
m_columnFilterEdit->setPlaceholderText(tr("Filter torrents...")); m_columnFilterEdit->setPlaceholderText(tr("Filter torrents..."));
m_columnFilterEdit->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
m_columnFilterEdit->setFixedWidth(200); m_columnFilterEdit->setFixedWidth(200);
m_columnFilterEdit->setContextMenuPolicy(Qt::CustomContextMenu); m_columnFilterEdit->setContextMenuPolicy(Qt::CustomContextMenu);
connect(m_columnFilterEdit, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu); connect(m_columnFilterEdit, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);

Loading…
Cancel
Save