> > DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. > > [STR New] > > Link: http://www.fltk.org/str.php?L2741 > Version: 1.3-feature > > > OK - do the functions fl_text_extents() and fl_measure() and perhaps > Fl_Widget::measure_label() not cover this ground? > > > Link: http://www.fltk.org/str.php?L2741 > Version: 1.3-feature >
measure_label() works after set, but I'd like to know before setting, without knowing the font/size used. fl_measure didn't work for me, weird values, plus requires knowning font and font size, that's why having one that can just be called with NULL/0 as font and/or size would use defaults. Also would like to be able to set the size that will be used for wrapping width as an option. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
