Hi, Im using FLTK2 and I would like to have my widgets automatically resize themselves to allow their label to fit completelly without being clipped or overflowing outside widget area.
Typical example would be a button whose label has been localized to a different language where the translated text is longer than the original and no longer fits inside the original button size. Another situation would be a system where the user is using bigger default fonts so same text takes much more screen realstate than in the PC where I designed the dialog layout. I dont really understand how I am supposed to use ::layout() to achieve that effect. Should I subclass every single widget I use to add that functionality myself? Is there builtin functionality? Any pointers or samples would be greatly appreciated. Thankyou in advance, Manuel _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

