Improve subkeysdialog layout

Resize to first column and slightly extend default width.
parent 80105e1b
......@@ -155,6 +155,7 @@ void SubKeysWidget::setKey(const GpgME::Key &key)
} else {
d->ui.stored->setText(i18nc("stored...", "on this computer"));
}
d->ui.subkeysTree->resizeColumnToContents(0);
}
......@@ -187,7 +188,7 @@ SubKeysDialog::~SubKeysDialog()
void SubKeysDialog::readConfig()
{
KConfigGroup dialog(KSharedConfig::openConfig(), "SubKeysDialog");
const QSize size = dialog.readEntry("Size", QSize(730, 280));
const QSize size = dialog.readEntry("Size", QSize(750, 280));
if (size.isValid()) {
resize(size);
}
......
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