summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.cc
diff options
context:
space:
mode:
authorsenator <senator>2007-10-11 07:49:03 +0000
committersenator <senator>2007-10-11 07:49:03 +0000
commita7ce3d715138fffe0817855468a38f6ca46b7c60 (patch)
treeb0f776f6e0ad5ec893a9e302366ff4203834a832 /client/widgets/combobox.cc
parent4060888474e49cc0716cdd59d4d1a73c06c5b3bc (diff)
Updated all widgets with better width height control
Diffstat (limited to 'client/widgets/combobox.cc')
-rw-r--r--client/widgets/combobox.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc
index 22efc96..e60ea8e 100644
--- a/client/widgets/combobox.cc
+++ b/client/widgets/combobox.cc
@@ -33,11 +33,13 @@ ComboBox::ComboBox(QDomNode node)
QDomElement elem = node.toElement();
if(elem.hasAttribute("width")) {
- resize(elem.attribute("width").toInt(), height());
+ //resize(elem.attribute("width").toInt(), height());
+ setMinimumWidth(elem.attribute("width").toInt());
}
if(elem.hasAttribute("height")) {
- resize(width(), elem.attribute("height").toInt());
+ //resize(width(), elem.attribute("height").toInt());
+ setMinimumHeight(elem.attribute("height").toInt());
}
QDomNodeList children = node.childNodes();