From e93751bfd25d70ef3d59b18204f59d6e6be5a911 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Oct 2008 07:52:34 +0000 Subject: Added autmatic linebreaking on lineedits. --- client/widgets/label.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') 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 { -- cgit v1.2.3