[etoys-notify] [JIRA] Commented: (SQ-935) Inserts multiple scaled objects into a holder causes them to scale further

Bert Freudenberg (JIRA) tracker at squeakland.org
Mon May 13 07:44:37 EDT 2013


    [ http://tracker.squeakland.org/browse/SQ-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41093#action_41093 ] 

Bert Freudenberg commented on SQ-935:
-------------------------------------

The detentBy... should only be used when changing that value interactively (using the halo), not when doing it programmatically.

> Inserts multiple scaled objects into a holder causes them to scale further
> --------------------------------------------------------------------------
>
>                 Key: SQ-935
>                 URL: http://tracker.squeakland.org/browse/SQ-935
>             Project: squeakland
>          Issue Type: Bug
>            Reporter: Stephen Thomas
>            Priority: Critical
>
> I am working on a project for kids to create their own "Combinations" projects.  For example given four skirts and 3 blouses, how many outfits can you create.
> I want the kids to be able to take "snapshots" of the "outfits" and store them in a holder or on a gridded playfield.  
> I was going to ask for a "Smalltalk" way to do this, then realized there was an Etoys way (that almost works).  I have the kids create the outfit, then run this script to copy it into a holder (so kids can see all the outfits on one page and re-arrange them to help "prove" they found them all). But, the problem is when you put scale factor <0.5 on each successive include, the other items in the holder scale down further.   
> script1
> 	self setScaleFactor: 0.25.
> 	Holder1 include: self getNewClone.
> 	self setScaleFactor: 1.0
> Couple of things I noticed:
>  - when the scale is 0.5 or greater, there is no problem.
>  - when you insert at 0.25 scale, then check the object in the holder, it shows a scale of 0.19
>  - If I include in a "Playfield" instead of a holder, it seems to work fine (except I have to place it at the appropriate X,Y manually).
> Attached is sample project demonstrating issue.
> I marked this Critical, because I find "small multiples" very useful for learning and facilitating comparisons.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list