summaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-07-18 22:42:50 +0000
committercorvid <corvid@lavabit.com>2011-07-18 22:42:50 +0000
commit7b432c366ef320f670540de3bdb8877ab221d31b (patch)
treed01802c92cdf4af172ce1179e27685ad61b3d8c6 /dw/fltkui.cc
parent794716c141563bf05fab9c905ea398f46548652f (diff)
turn on wrapping for textarea
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc1
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;
}