Project

General

Profile

Control of component inside a layout (box or grid).

Added by Bart AM over 13 years ago

Hello,

I'm having trouble to implement what could be done in a WTable this way :

d~~table~~>elementAt(0,3)->setStyleClass("Widget_tableCell");

d~~table~~>elementAt(0,3)->addStyleClass(strColor.c_str());

but with layouts.

I would like to be able to get the whole cell in order to apply Style to

it (like a background color, or borders, independantly from others cell).

For now I can only affect a style to the WLabel contained by the layout wich lead to a background color

that don't fit the whole cell (same for borders).

Any suggestions ?

Do not hesitate to ask more informations if it is not enough explained.


Replies (1)

RE: Control of component inside a layout (box or grid). - Added by Bart AM over 13 years ago

(the stroke line is not something I wanted to do, ignore stroke)

    (1-1/1)