Re: [fltk.general] how to short text string in widget

2009-12-21 Thread Greg Ercolano
leowang wrote: Dear All, I have a long string in a widget, I have used the flag ALIGN_INSIDE | ALIGN_CENTER | ALIGN_LEFT. But I found that the string will overflow the width of my widget, how to shorten it to make it only display part of the string. Add the flag ALIGN_CLIP.

[fltk.general] how to short text string in widget

2009-12-20 Thread leowang
Dear All, I have a long string in a widget, I have used the flag ALIGN_INSIDE | ALIGN_CENTER | ALIGN_LEFT. But I found that the string will overflow the width of my widget, how to shorten it to make it only display part of the string. Thanks. My fltk version is v2.0