Commit fefd2e56 authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg

Make the key binding editor dialog bigger

The first column in the key binding editor dialog usually has long lines of
text, to improve usability set a minimum size of 480x430 for that dialog
and an initial size of 500x500. Also set the initial width of that column
to 300.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: ngraham, #konsole

Tags: #konsole

Differential Revision:

(cherry picked from commit bd560c56)
parent 3b79409e
......@@ -1218,6 +1218,9 @@ void EditProfileDialog::showKeyBindingEditor(bool isNewTranslator)
// 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());
......@@ -52,6 +52,10 @@ KeyBindingEditor::KeyBindingEditor(QWidget *parent) :
// see also the sizes set in EditProfileDialog::showKeyBindingEditor()
_ui->keyBindingTable->setColumnWidth(0, 300);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment