Re: GooCanvasTable background color



Yes, you are right. Setting "fill-color" for the children solved the problem
Thank you

2010/3/8 Damon Chaplin <damon karuna eclipse co uk>

On Mon, 2010-03-08 at 13:55 +0100, Éric ALBER wrote:
> Hello
>
> I'm trying to use GooCanvasTable to layout some Canvas items
> (essentially text items).
> I would like to set a common background for all these items, so I have
> set the "fill-color" property of my table item. But it looks like the
> filling of the table is done after the children are painted, to I get
> a simple filled rectangle, I don't see the children.
>
> Is there any way to tell table to paint its fill color before painting
> the children ? I tried with the lower / raise methods but without
> success

I think this is caused by the "fill-color" property cascading down to
the text items, so they are being painted in the same color.

Try setting the "fill-color" of the text items.

Damon





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