Re: [gtkmm] Icons in a TreeView



On Tue, 2003-09-30 at 12:10, Markus Gerwinski wrote:
> Hi folks,
> 
> I'm observing some strange behaviour in my TreeView after I added icons to the
> expander column.
> 
> Details: I have a TreeView with two CellRenderers in the expander column: A
> CellRendererPixbuf and a CellRendererText. The CellRendererPixbuf contains a
> descriptive icon for the row, e.g. a folder for a node with subnodes.
> 
> If I expand a row, all icons on the level of this row are a bit moved to the
> right, so they rush into the text besides them.
> 
> Is there a known way to fix this? Is there maybe another way to add icons to a
> column than using two separate Renderers or something?

That sounds like a GTK+ bug. Maybe you should try to reproduce it with
the stock-browser part of the GTK+ demo (demo/gtk-demo in the GTK+
tarball).

-- 
Murray Cumming
murrayc usa net
www.murrayc.com





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