LayoutFrame.st
changeset 3793 c51420719bcf
parent 3414 ec59c0e59dfb
child 3925 b761235ce4d5
equal deleted inserted replaced
3792:b4325f03e7d7 3793:c51420719bcf
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 "{ Package: 'stx:libview2' }"
    12 "{ Package: 'stx:libview2' }"
       
    13 
       
    14 "{ NameSpace: Smalltalk }"
    13 
    15 
    14 LayoutOrigin subclass:#LayoutFrame
    16 LayoutOrigin subclass:#LayoutFrame
    15 	instanceVariableNames:'rightFraction bottomFraction rightOffset bottomOffset'
    17 	instanceVariableNames:'rightFraction bottomFraction rightOffset bottomOffset'
    16 	classVariableNames:''
    18 	classVariableNames:''
    17 	poolDictionaries:''
    19 	poolDictionaries:''
   568 
   570 
   569 !
   571 !
   570 
   572 
   571 rectangleRelativeTo:superRectangle preferred:prefRectHolder
   573 rectangleRelativeTo:superRectangle preferred:prefRectHolder
   572     "compute the rectangle represented by the receiver,
   574     "compute the rectangle represented by the receiver,
   573      given the superViews rectangle and the views preferredExtent."
   575      given the superViews rectangle and the view's preferredExtent."
   574 
   576 
   575     |x1 y1 x2 y2 superWidth superHeight|
   577     |x1 y1 x2 y2 superWidth superHeight|
   576 
   578 
   577     x1 := x2 := superRectangle left.
   579     x1 := x2 := superRectangle left.
   578     y1 := y2 := superRectangle top.
   580     y1 := y2 := superRectangle top.
   625 ! !
   627 ! !
   626 
   628 
   627 !LayoutFrame class methodsFor:'documentation'!
   629 !LayoutFrame class methodsFor:'documentation'!
   628 
   630 
   629 version
   631 version
   630     ^ '$Header: /cvs/stx/stx/libview2/LayoutFrame.st,v 1.43 2014-12-02 22:40:21 cg Exp $'
   632     ^ '$Header$'
   631 !
   633 !
   632 
   634 
   633 version_CVS
   635 version_CVS
   634     ^ '$Header: /cvs/stx/stx/libview2/LayoutFrame.st,v 1.43 2014-12-02 22:40:21 cg Exp $'
   636     ^ '$Header$'
   635 ! !
   637 ! !
   636 
   638