summaryrefslogtreecommitdiff
path: root/client/widgets/checkbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/checkbox.cc')
-rw-r--r--client/widgets/checkbox.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/widgets/checkbox.cc b/client/widgets/checkbox.cc
index 3c73235..7d261e9 100644
--- a/client/widgets/checkbox.cc
+++ b/client/widgets/checkbox.cc
@@ -32,11 +32,13 @@ CheckBox::CheckBox(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());
}
if(elem.hasAttribute("caption")) {