mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Make the key binding editor dialog bigger
Summary: 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: https://phabricator.kde.org/D11637
This commit is contained in:
committed by
Kurt Hindenburg
parent
da9e86e32c
commit
bd560c563f
@@ -52,6 +52,10 @@ KeyBindingEditor::KeyBindingEditor(QWidget *parent) :
|
||||
|
||||
_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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user