[PATCH] (issue104) Use fixed width for certificate drop box in admin window

Wald Commits scm-commit at wald.intevation.org
Tue Sep 9 15:46:06 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410270309 -7200
# Node ID 0d92ab04d61c02a65c7943b76e8e35de441889b4
# Parent  78798d3af8f0ac00704343dab0dbbeac1432fd42
(issue104) Use fixed width for certificate drop box in admin window

diff -r 78798d3af8f0 -r 0d92ab04d61c ui/certificatetabledelegate.cpp
--- a/ui/certificatetabledelegate.cpp	Tue Sep 09 15:22:19 2014 +0200
+++ b/ui/certificatetabledelegate.cpp	Tue Sep 09 15:45:09 2014 +0200
@@ -48,6 +48,7 @@
     bool editable = index.data(Qt::UserRole).toBool();
     // Create a combobox and add two items for install/remove.
     QComboBox *comboBox = new QComboBox(parent);
+    comboBox->setFixedWidth(110);
     comboBox->addItem(QIcon(":/img/list-add.png"), tr("add"), QVariant("true"));
     if (editable) {
         comboBox->addItem(QIcon(":/img/list-remove.png"),


More information about the Trustbridge-commits mailing list