changeset 1054:0d92ab04d61c

(issue104) Use fixed width for certificate drop box in admin window
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 09 Sep 2014 15:45:09 +0200
parents 78798d3af8f0
children 9812983e7650
files ui/certificatetabledelegate.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"),

http://wald.intevation.org/projects/trustbridge/