Zat Home
Support | Bug Report

458

Problem resizing gradient actor with setSize, but not with setBounds

Enclosed are two capsules: actor.zac and testactor.zac.
Open actor.zac and save it as a jar file. Restart Spin.
Now open testactor.zac. In the toybox, resize the included
capsule. The gradient doesn't resize. I was able to get the
gradient to resize if I used "setBounds" but not if I used
"setSize".

** Wm 5/6/99 **

I tested the resizing bug I reported earlier, and it does
appear to be a bug in the gradient. I tried the same thing
with a rect, and it works fine. So please change it to a
bug in the gradient bean.

Quick recap -- when you use the gradient bean in an actor
capsule, and use an action to resize the gradient when the
capsule is resized, the gradient does not resize. setBounds
works, but setSize does not. The earlier email included
capsules that showed the problem.

** Wm 5/8/99 **

Generated on: Mon Apr 10 11:49:39 PDT 2000