From b5a73c78e61c18f4d08aec39a6edf5b19b1dbfd4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 30 Oct 2010 21:32:15 +0000 Subject: Fixed label alignment (STR #2436) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index c2e0c3eaf..ec5750617 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1414,6 +1414,7 @@ void Fl_Widget::redraw_label() { W += 5; // Add a little to the size of the label to cover overflow H += 5; + // FIXME: this does not take all outside label positions into account! if (align() & FL_ALIGN_BOTTOM) { window()->damage(FL_DAMAGE_EXPOSE, x(), y() + h(), w(), H); } else if (align() & FL_ALIGN_TOP) { -- cgit v1.2.3