diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 21:32:15 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 21:32:15 +0000 |
| commit | b5a73c78e61c18f4d08aec39a6edf5b19b1dbfd4 (patch) | |
| tree | a3e4da1f20c29e56a31ac7b3cfd411559ab03634 /src/Fl.cxx | |
| parent | 9b6f68dd7ce28ca42e31af0cf2a9c2535b34553f (diff) | |
Fixed label alignment (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |
