On 07.12.2010, at 16:39, Paul R wrote: > I have a problem i noticed when switching my widget labels around on > an output browser. > The label changes between three strings depending on what is > occurring. > The problem is when i write the longer label, and then change > back to a shorter string label, i can still see the beginning > and end of the 'old' longer string underneath, like the image > needs to refresh or something.
You need to redraw the parent group that contains the space that is occupied by the label, in the simplest case this would be parent()->redraw(); Note that this only works if the complete label is contained in this group _and_ this group has a drawing background, i.e. it's not a Frame box type. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

