I am having trouble wrapping in a multiline input. The stock test/input program
does not wrap, and my test doesn't either (below).
I need to create a multiline input, set its type() to FL_MULTILINE_INPUT and
wrap(1), right?
I'm wondering if there is something not working in Fl_Input_::expand(). I'll
keep studying that.
I've tried both r8441 and r8570, and I'm on Linux/Tinycore. My compile options
disable GL, Cairo, and xft, but I don't believe those should be an issue ... ?
I'm stumped. Many thanks for the guidance.
DLT
---
int main (int argc, char ** argv)
{
Fl_Window *window;
Fl_Multiline_Input *multi_;
window = new Fl_Window (600, 400);
multi_ = new Fl_Multiline_Input(10, 10, 100, 100, "stock");
multi_->align(FL_ALIGN_TOP_LEFT);
//also fails w/ FL_MULTILINE_INPUT_WRAP ... :\
multi_->type(FL_MULTILINE_INPUT);
multi_->wrap(1);
window->end ();
window->show (argc, argv);
return(Fl::run());
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk