Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
LayoutFrame
Last updated at 1:19 am UTC on 17 January 2006
From the class comment:

I define a frame for positioning some morph in a proportional layout.

Instance variables:
    leftFraction 
    topFraction 
    rightFraction 
    bottomFraction 	(Float)	The fractional distance (between 0 and 1) to place the morph in its owner's bounds

    leftOffset 
    topOffset 
    rightOffset 
    bottomOffset 	(Integer)	Fixed pixel offset to apply after fractional positioning (e.g., "10 pixel right of the center of the owner")