summaryrefslogtreecommitdiff
path: root/otk/focuslabel.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/focuslabel.cc
parent3b5d2d1bdecaa1962ca80299410d778590e18731 (diff)
various fixes to the otk widgets
Diffstat (limited to 'otk/focuslabel.cc')
-rw-r--r--otk/focuslabel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc
index 8ac328e7..bd74aa94 100644
--- a/otk/focuslabel.cc
+++ b/otk/focuslabel.cc
@@ -58,7 +58,7 @@ void FocusLabel::update()
internalResize(w, h);
else
internalResize(w, _rect.height());
- } else
+ } else if (h > _rect.height())
internalResize(_rect.width(), h);
}
FocusWidget::update();