Re: [gtkmm] TextView resizing



Barnaby Gray <bee pickle me uk> writes:
> > I have a TextView with a wrap mode of Gtk::WRAP_WORD, but this means
> > when long lines of characters (without any spaces) are inserted the
> > widget resizes to very large widths to fit these without wrapping. Is
> > there any way of stopping these resizes?

I've never actually used a TextView, but I've experienced something
similar with a TreeView. Have you tried placing the TextView in a
ScrolledWindow? That did the trick for me.

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



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