diff options
author | corvid <corvid@lavabit.com> | 2011-07-18 22:42:50 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-07-18 22:42:50 +0000 |
commit | 7b432c366ef320f670540de3bdb8877ab221d31b (patch) | |
tree | d01802c92cdf4af172ce1179e27685ad61b3d8c6 | |
parent | 794716c141563bf05fab9c905ea398f46548652f (diff) |
turn on wrapping for textarea
-rw-r--r-- | dw/fltkui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index fe55ff5f..5405d92e 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -634,6 +634,7 @@ Fl_Widget *FltkMultiLineTextResource::createNewWidget (core::Allocation Fl_Text_Editor *text = new Fl_Text_Editor (allocation->x, allocation->y, allocation->width, allocation->ascent + allocation->descent); + text->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0); text->buffer (buffer); return text; } |