diff options
Diffstat (limited to 'client/widgets/radiobuttons.cc')
-rw-r--r-- | client/widgets/radiobuttons.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/widgets/radiobuttons.cc b/client/widgets/radiobuttons.cc index 47a32f4..dc79831 100644 --- a/client/widgets/radiobuttons.cc +++ b/client/widgets/radiobuttons.cc @@ -46,11 +46,13 @@ RadioButtons::RadioButtons(QDomNode node) } 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(); |