summaryrefslogtreecommitdiff
path: root/client/widgets/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r--client/widgets/label.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc
index a9a78b4..4bd1aff 100644
--- a/client/widgets/label.cc
+++ b/client/widgets/label.cc
@@ -38,7 +38,8 @@ Label::Label(QDomNode node)
}
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")) {
@@ -60,7 +61,7 @@ Label::Label(QDomNode node)
setAlignment(Qt::AlignLeft);
}
- // Always center vertically in the adressed space
+ // Always center vertically in the addressed space
setAlignment(Qt::AlignVCenter);
}