Thanks for the answer - the wrapping really works so.

To the scrollbars issue - if I have a text that is after wrapping heigher than 
my widget, the horizontal and vertical scrollbars appear automatically. I need 
the vertical scrollbar, but I do not understand why there is also the 
horizontal scrollbar - it is there, but it is not needed because the text in 
horizontal direction is displayed completely, what is obvious  as one can not 
move the horizontal scrollbar anyway, it's just taking space.
So it is possible to hide just one scrollbar?

And two more questions to the widget please.
1. Why it is not possible to move the scrollbar slider to the end of the 
scrollbar? If I scroll in the vertical direction, I get to the end of the text, 
but the slider remains somewhere in the lower part of the scrollbar, not at the 
end.

2. If I compare the text in an Fl_Multiline_Output and Fl_text_Display, in the 
output widget there is a larger space between widget top border and the top of 
the first line. Also the space between the lines is smaller in the 
Fl_Text_Display that in Fl_Multiline_Output. Is it intended to be so?

> I also wanted to do this, and discovered that if you set the width to
> 0 it wraps as you expect.  I don't think the documentation mentions
> this.
>
> > One more question - could I switch off the automatic displaying of the 
> > scrollbars?
>
> .... and I wanted to do this too.  I got around it by doing
> scrollbar_width(0).  0 it seems is the answer today :)
>


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

Reply via email to