Hi,
i discovered another inconsistency. While SCScrollView uses
relative coordinates to place views, SCComposite doesn't.
Shall we change that for 3.2 ??
(
w = SCWindow.new;
c = SCScrollView(w,Rect(50,0,300,300));
a = SC2DSlider(c,Rect(0,0,100,100));
b = SC2DSlider(c,Rect(100,100,100,100));
c.background = Gradient(Color.rand,Color.rand);
w.front;
)
(
w = SCWindow.new;
c = SCCompositeView(w,Rect(50,0,300,300));
a = SC2DSlider(c,Rect(0,0,100,100));
b = SC2DSlider(c,Rect(100,100,100,100));
c.background = Gradient(Color.rand,Color.rand);
w.front;
)
Jan
_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-devel