Dynamic cell renderer height in tree view



Hello,

I need display multiline text in text view and write custom cell renderer for it. Text displayed my pango layout and wrapped by word.

I set width of pango layout to visual width of treeview for display all text in cell in visual window without horizontal scroolbar as possible.

get_size() from custom cell renderer return correct width and height, but when I resize main window, visual width and height of cells doesn't changed (pango layout width changed correct). How can I change visual size of cells ?

I found such problem in pygtk mailing list:
http://www.daa.com.au/pipermail/pygtk/2003-September/005908.html
but not found solution :(

--
Regards, Vyt
mailto:  vyt vzljot ru
JID:     vyt vzljot ru



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