|
|
Hello, I have the following code : { Fl_Hold_Browser* o = new Fl_Hold_Browser(xs+200, ys, 200, 300); for (i=0;i<100;i++){ char s[256]; sprintf(s, "number %d\n", i); o->add(s); } o->end(); } The scrollbar will however only scroll the 73 first items. If I loop to 1000 (instead of 100) the I can scroll the 734 first items.
The code work fine in a small example code, but not in my application.
Do any have a tip of what may cause this / how to fix ?
Best regards Håvard
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c7a99669-9b6b-4a7e-9e69-6c5ad82d2a27n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |