summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-03-06 14:03:46 +0100
committerAndre Heinecke <[email protected]>2018-03-06 14:03:46 +0100
commit1be8015bb65e5f5f4f1f8c952cced12a4755a780 (patch)
treee0a03f68376e2d36c7fa3ac7f217d40ef35d2277
parent80105e1b837bbebec9ef79597c2f3b45a6c27059 (diff)
Improve subkeysdialog layout
Resize to first column and slightly extend default width.
-rw-r--r--src/dialogs/subkeyswidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialogs/subkeyswidget.cpp b/src/dialogs/subkeyswidget.cpp
index f2dfb32..c4bcb0e 100644
--- a/src/dialogs/subkeyswidget.cpp
+++ b/src/dialogs/subkeyswidget.cpp
@@ -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);
}