Use minimum size for keybinder category list
authorWuzzy <Wuzzy2@mail.ru>
Thu, 18 Jul 2019 03:25:15 +0200
changeset 15251 9be05ae1b726
parent 15250 8dd3602a4500
child 15252 515a4a317e52
Use minimum size for keybinder category list
QTfrontend/ui/widget/keybinder.cpp
--- a/QTfrontend/ui/widget/keybinder.cpp	Thu Jul 18 01:46:40 2019 +0200
+++ b/QTfrontend/ui/widget/keybinder.cpp	Thu Jul 18 03:25:15 2019 +0200
@@ -49,7 +49,7 @@
     QVBoxLayout * catListContainer = new QVBoxLayout();
     catListContainer->setContentsMargins(10, 10, 10, 10);
     catList = new QListWidget();
-    catList->setFixedWidth(180);
+    catList->setMinimumWidth(180);
     catList->setStyleSheet("QListWidget::item { font-size: 14px; } QListWidget:hover { border-color: #F6CB1C; } QListWidget::item:selected { background: #150A61; color: yellow; }");
     catList->setFocusPolicy(Qt::NoFocus);
     connect(catList, SIGNAL(currentRowChanged(int)), this, SLOT(changeBindingsPage(int)));