summaryrefslogtreecommitdiff
path: root/otk/label.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-05 05:48:01 +0000
committerDana Jansens <danakj@orodu.net>2003-02-05 05:48:01 +0000
commita612136ba51c87014e4fba0167aad77bbfdaa753 (patch)
tree379e76b7458164da4eedb1c1766d44bad8657c87 /otk/label.cc
parent3b5d2d1bdecaa1962ca80299410d778590e18731 (diff)
various fixes to the otk widgets
Diffstat (limited to 'otk/label.cc')
-rw-r--r--otk/label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/label.cc b/otk/label.cc
index 8352fb7a..f0a4b665 100644
--- a/otk/label.cc
+++ b/otk/label.cc
@@ -54,7 +54,7 @@ void Label::update()
internalResize(w, h);
else
internalResize(w, _rect.height());
- } else
+ } else if (h > _rect.height())
internalResize(_rect.width(), h);
}
Widget::update();