BookMorph: why are new pages forced vResizing: #rigid?

Raymond raymondasselin at sympatico.ca
Wed Nov 27 01:39:45 UTC 2002


Le 2002/11/26 à 09:58, Ned Konz <ned at bike-nomad.com> écrivait: 

>I'm trying to use a BookMorph inside another Morph.
>
>It's frustrating, since I'd like to have new pages automatically 
>resize themselves to the book's size. I can do this on the first 
>page/newPagePrototype, but new pages have their vResizing forced to 
>#rigid in BookMorph>>insertPageColored:.
>
>I could make a subclass, sure, but I was wondering why this was set to 
>happen (especially since the hResizing isn't touched).
>
>It's a bit awkward to have to use the Halos to set page size. I find 
>that making the pages resize to the book works fine for me.
>
>-- 
>Ned Konz
>http://bike-nomad.com
>GPG key ID: BEEA7EFE


Ned may be this is not what you are looking for ...but there is a menu item in Book call Œmake all
pages this size¹




More information about the Squeak-dev mailing list