diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-04-24 09:10:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-04-24 09:10:22 +0000 |
| commit | a19a1da794e27571e8c5c9391e29d4da1e4524f4 (patch) | |
| tree | a3ebc53ae8c53a48cec7206d04663782633ff579 /src | |
| parent | 5134c0988d39c40c6c0e0ca5edcb31f2d28e8954 (diff) | |
Text_Display was using a wrong border margin STR 1909
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 3af748004..1181a90af 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -377,7 +377,7 @@ void Fl_Text_Display::resize(int X, int Y, int W, int H) { H -= Fl::box_dh(box()); text_area.x = X+LEFT_MARGIN; - text_area.y = Y+BOTTOM_MARGIN; + text_area.y = Y+TOP_MARGIN; text_area.w = W-LEFT_MARGIN-RIGHT_MARGIN; text_area.h = H-TOP_MARGIN-BOTTOM_MARGIN; int i; |
