Bufff, I hate that "format". Kill me :)
I don��t see the message #&& . I have image Pharo dev 10418 BETA.
&& works as #and:�� ? is a lazy comparison?
Regards
since I cannot give you feedback on the morphic internal
I will give you some smalltalk ones
anchorToLeft: toLeft toRight: toRight toTop: toTop toBottom: toBottom
�� �� �� �� morph owner notNil
�� �� �� �� �� �� �� �� ifTrue:
�� �� �� �� �� �� �� �� �� �� �� �� [| fractionsRectangle offsetsRectangle owner |
�� �� �� �� �� �� �� �� �� �� �� �� owner := morph owner.
�� �� �� �� �� �� �� �� �� �� �� �� anchoredToLeft := toLeft.
�� �� �� �� �� �� �� �� �� �� �� �� anchoredToRight := toRight.
�� �� �� �� �� �� �� �� �� �� �� �� anchoredToTop := toTop.
�� �� �� �� �� �� �� �� �� �� �� �� anchoredToBottom := toBottom.
�� �� �� �� �� �� �� �� �� �� �� �� ((anchoredToLeft not) and: [anchoredToRight not]
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� and:[anchoredToBottom not] and:[anchoredToTop not ])
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ifTrue: [owner addMorph: morph ��fullFrame: nil.]
�� �� �� �� �� �� �� �� ifFalse:
�� �� �� �� �� �� �� �� �� �� �� �� [ fractionsRectangle := self pvtBuildFractionsRectangle.
�� �� �� �� �� �� �� �� �� �� �� �� offsetsRectangle := self pvtBuildOffsetsRectangle: ��
fractionsRectangle.
�� �� �� �� �� �� �� �� �� �� �� �� owner addMorph: morph ��fullFrame: (LayoutFrame fractions: ��
fractionsRectangle offsets: offsetsRectangle)]].
�� �� �� ��
looks more smalltalkish to me
BTW for the
�� �� �� �� ((anchoredToLeft not) and: [anchoredToRight not]
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� and:[anchoredToBottom not] and:[anchoredToTop not ])
it may be more efficient to use
�� �� �� �� &&
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
View this message in context: Re: [Pharo-project] Polymorph - TabIndex and layoutFrames questions
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.