Morph>>assureLayoutProperties
        | props |
        props := self layoutProperties.
        props ifNil:[
                props := LayoutProperties new initializeFrom: self.
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                self layoutProperties: props].
        ^props


LayoutProperties >> initializeFrom: defaultProvider
        "Initialize the receiver from a default provider"
        self hResizing: defaultProvider hResizing.
        self vResizing: defaultProvider vResizing.
        self disableTableLayout: defaultProvider disableTableLayout.

ok up here.

Morph>>hResizing
        "Layout specific. This property describes how the receiver should be 
resized with respect to its owner and its children. Possible values are:
                #rigid                  -       do not resize the receiver
                #spaceFill              -       resize to fill owner's 
available space
                #shrinkWrap     - resize to fit children
        "
        | props |
        props := self layoutProperties.
        ^props ifNil:[#rigid] ifNotNil:[props hResizing].


argh….

Stef

Reply via email to