Jens Grunert wrote:
> Thank you Greg for your fast reply,
> I got it working using your little example and the correct version of fltk 
> (1.1.7 , it did not work with 1.1.4 which was installed on my linux).

        Yes, there were some bugs in Fl_Scroll that were fixed
        around 1.1.5. I think I reported some of those.

        The workaround for the problem you're describing with
        the older releases was to just set an FL_FLAT_BOX type
        for the scroll, eg:

                scroll.box(FL_FLAT_BOX);
                scroll.color(FL_BLUE);

        I just checked that with fltk 1.1.3, and that "fixes" it.

        But I don't recommend that for the newer releases, since
        the parent window's bg draws correctly now. You'd only
        do the above in the current release if you wanted the
        scroll area's bg color to be different than the parent window's.

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

Reply via email to