summaryrefslogtreecommitdiff
path: root/client/widgets/label.cc
diff options
context:
space:
mode:
authordeva <deva>2008-10-14 07:52:34 +0000
committerdeva <deva>2008-10-14 07:52:34 +0000
commite93751bfd25d70ef3d59b18204f59d6e6be5a911 (patch)
treec1baa9572bbad123c75edee4e4604f9cfac4e743 /client/widgets/label.cc
parent4a90fa8c2c9244e52c1ac08cbfcb62b0e4851010 (diff)
Added autmatic linebreaking on lineedits.
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r--client/widgets/label.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc
index 61b60c5..d4f5387 100644
--- a/client/widgets/label.cc
+++ b/client/widgets/label.cc
@@ -36,6 +36,8 @@ Label::Label(QDomNode &node, MacroWindow *macrowindow)
setCommonAttributes(this, node);
+ setWordWrap(true);
+
if(elem.hasAttribute("caption")) {
setText(elem.attribute("caption"));
} else {