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

[sc-users] (no subject)





hello list, sciss, 

it seems I don't get background color in some objects of the last SwingOSC version (0.42)


from JSCompositeView.help:

(
w = JSCWindow.new;

c = JSCCompositeView(w,Rect(0,0,300,300));

a = JSC2DSlider(c,Rect(0,0,100,100));
b = JSC2DSlider(c,Rect(100,100,100,100));

c.background = "">Color.rand;

w.front;
)
gives me views with no colors on.

it is perhaps related to the new 'opaque'method:
c.opaque_(true);
(or false), then

c.opaque;
gives me  nil

Is there a new behaviour i'm not aware of ?
Thanks

Paul