Commit bd3637cf authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove the margins around the name and email widget

Removing the margins align the labels and input fields with the other
UI elements in the dialogs.

GnuPG-bug-id: 5832
parent f2bc96b7
Pipeline #187803 passed with stage
in 3 minutes and 55 seconds
......@@ -81,6 +81,7 @@ public:
scrollAreaLayout->setContentsMargins(0, 0, 0, 0);
ui.nameAndEmail = new NameAndEmailWidget{q};
ui.nameAndEmail->layout()->setContentsMargins(0, 0, 0, 0);
ui.nameAndEmail->setNameIsRequired(nameIsRequired);
ui.nameAndEmail->setNameLabel(config.readEntry("NAME_label"));
ui.nameAndEmail->setNameHint(config.readEntry("NAME_hint", config.readEntry("NAME_placeholder")));
......
......@@ -78,6 +78,7 @@ class NewOpenPGPCertificateDetailsDialog::Private
scrollAreaLayout->setContentsMargins(0, 0, 0, 0);
nameAndEmail = new NameAndEmailWidget{dialog};
nameAndEmail->layout()->setContentsMargins(0, 0, 0, 0);
scrollAreaLayout->addWidget(nameAndEmail);
withPassCheckBox = new QCheckBox{i18n("Protect the generated key with a passphrase."), dialog};
......
Supports Markdown
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