treeview column, themes and eventBox: why does bg change?



Hi,

in order to add tooltips to the header of a TreeViewColumn, I set as widget
for the column a Label inside an EventBox. That works fine but with some
themes an ugly difference in backgroud appears between the text and the bg
of the column header. I attach the screen of the result on Ubuntu 10.04.

Why does a label inside an EventBox behaves differently (limited to header
of a TreeView) and what should I do to get the same bg as the "normal"
header? The nasty thing is really that is appears half and half...

I'm using PyGTK if that matters...

thanks in advance
sandro


-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

Attachment: eventbox.png
Description: PNG image



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