diff --git a/src/EditProfileDialog.cpp b/src/EditProfileDialog.cpp --- a/src/EditProfileDialog.cpp +++ b/src/EditProfileDialog.cpp @@ -1218,6 +1218,9 @@ layout->addWidget(editor); layout->addWidget(buttonBox); dialog->setLayout(layout); + // see also the size set in the KeyBindingEditor constructor + dialog->setMinimumSize(480, 430); + dialog->resize(500, 500); if (dialog->exec() == QDialog::Accepted) { auto newTranslator = new KeyboardTranslator(*editor->translator()); diff --git a/src/KeyBindingEditor.cpp b/src/KeyBindingEditor.cpp --- a/src/KeyBindingEditor.cpp +++ b/src/KeyBindingEditor.cpp @@ -52,6 +52,10 @@ _ui->keyBindingTable->setHorizontalHeaderLabels(labels); _ui->keyBindingTable->horizontalHeader()->setStretchLastSection(true); + + // see also the sizes set in EditProfileDialog::showKeyBindingEditor() + _ui->keyBindingTable->setColumnWidth(0, 300); + _ui->keyBindingTable->verticalHeader()->hide(); _ui->keyBindingTable->setSelectionBehavior(QAbstractItemView::SelectRows);