MacArthur, Ian (SELEX GALILEO, UK) wrote:

> Um, yup, here's a quote that looks relevant;
> 
> "After the last column any remaining text is formatted into the space
> between the last column and the right edge of the browser, even if the
> text contains instances of column_char() . The default value is a
> one-element array of just a zero, which means there are no columns."
> 
> I read that as saying that, so long as you don't set the column_widths
> array, you can use the column_char in your text and it will be ignored.
> Maybe...

Almost. It will be ignored in its function as a column separator, but
will be treated as normal text instead.

Looking at Fl_Browser::draw_item() shows that it will eventually call
fl_draw(str, ...), so that a tab will be treated as always in normal
text and labels.

Without looking deeper, I assume that the tabs will each be expanded
to 8 blanks. Switching to a fixed font should prove that.

I don't think that this will change in future versions of FLTK.

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

Reply via email to