aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-31 06:13:26 +0000
committersaturneric <[email protected]>2024-07-31 06:13:26 +0000
commit081147d65fcb0a20818bbfb43f6ec4f5ddf59581 (patch)
treef6ec05666acb98da46b4cb0dfc0871225f4ad388 /src/ui/dialog/keypair_details/KeyPairDetailTab.cpp
parentfix: dealing with unknown compiler (diff)
downloadGpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.tar.gz
GpgFrontend-081147d65fcb0a20818bbfb43f6ec4f5ddf59581.zip
fix: addressing some of the significant deficiencies identified
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyPairDetailTab.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeyPairDetailTab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp b/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp
index 2e9e4150..711e6784 100644
--- a/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp
+++ b/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp
@@ -120,6 +120,7 @@ KeyPairDetailTab::KeyPairDetailTab(const QString& key_id, QWidget* parent)
fingerprint_var_label_->setTextInteractionFlags(Qt::TextSelectableByMouse);
fingerprint_var_label_->setStyleSheet("margin-left: 0; margin-right: 5;");
fingerprint_var_label_->setAlignment(Qt::AlignCenter);
+ fingerprint_var_label_->setMinimumWidth(400);
auto* hbox_fp = new QHBoxLayout();
hbox_fp->addStretch();
@@ -264,6 +265,7 @@ void KeyPairDetailTab::slot_refresh_key_info() {
algorithm_var_label_->setText(key_algo_val);
algorithm_detail_var_label_->setText(key_algo_detail_val);
fingerprint_var_label_->setText(BeautifyFingerprint(key_.GetFingerprint()));
+ fingerprint_var_label_->setWordWrap(true); // for x448 and ed448
icon_label_->hide();
exp_label_->hide();