DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2725
Version: 1.3-current


When I add an FL_Input widget in an Fl_Tree, entering data in the widget
results in garbage (moving substring of what's typed) being drawn.

To reproduce, compile the code and try to enter text in the Fl_Input:

#include "FL/Fl.H"
#include "FL/Fl_Window.H"
#include "FL/Fl_Tree.H"
#include "FL/Fl_Value_Input.H"

int main(int argc, char **argv)
{
  Fl_Window *win = new Fl_Window(500, 500);
  Fl_Tree *tree = new Fl_Tree(20, 20, 460, 460);
  Fl_Tree_Item *n = tree->add("test");
  tree->begin();
  n->widget(new Fl_Input(1, 1, 100, 1, "input"));
  tree->end();
  tree->redraw();
  win->end();
  win->show(argc, argv);
  Fl::run();
}

Tested with fltk-1.3 r9116 on Mac OS X and Windows.


Link: http://www.fltk.org/str.php?L2725
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to