Re: [gtkmm] Widget for viewing multi-line text



"Andreas B. Thun" <abt gmx de> writes:

> IŽd like to have a widget for viewing multi-line text
> which automatically reduces/enlarges text width when
> the user reduces/enlarges the parent window.
>
> I tried a TextView, but it does not work. Text is
> always in one line...

You need to tell it to wrap the lines. I've forgotten the details, but
they should be in the reference manual.

You can also use a label and tell it to wrap the text.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]