skin DirectCheckButton problem

Hi buddies

I have some problems in skinning DirectCheckButton.
I can customise the button but not the box.

dbutton["boxImage"]=("../models/gui/check_off.png", "../models/gui/check_on.png", None)
dbutton["boxImageColor"]=1,1,0,1
dbutton["boxImageScale"]=10
dbutton["boxBorder"]=12
dbutton["boxPlacement"]="right"

No one of this works. The frame of box continue, my images don´t show, border don´t change and placement continues in left.

Some ideas? (panda3d-1.7.0 :: windows 7)
Thanx

Please… help :frowning:

Weirdo :open_mouth:
Seems this attribute can be defined only in constructor :confused:

So it can. It appears that this attribute is queried in the constructor and then passed to its subordinate object. Thereafter the attribute is no longer queried.

But you should be able to change the subordinate object directly, with for instance [‘indicator_image_scale’] or [‘indicator_image_color’].

David

I´ll try :slight_smile:
Thanx