[Gtk-sharp-list] TreeView problem: Background suddenly grey

TheSHEEEP thesheeep2 at web.de
Sat Mar 10 12:23:10 UTC 2012


Hey,

I have a problem with my treeview.
With 2 columns, everything works correct, all the background in the treeview
is white.

But as soon as I add a third column (all three are default
CellRendererText), the rows in the first one suddenly have a light grey
background. 

To illustrate, I have uploaded a picture:
http://i44.tinypic.com/2eol0xx.jpg

As you can see at the red arrow, the background in the first column is grey.
I have NOT set this anywhere, so why does it do that? It looks really ugly.

As you can see at the blue arrow, I have set the background color of the
CellTextRenderer at that row to white. Unfortunately, it only sets the
immediate space around the letters white, so the rest of grey remains.

The green arrow points to the third column, which works correctly.

Any idea what causes this and how it can be prevented? This seriously screws
up the layout.

--
View this message in context: http://mono.1490590.n4.nabble.com/TreeView-problem-Background-suddenly-grey-tp4461937p4461937.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list