Hi
Alignment has been deprecated (and should not be used anymore) but there are a lot of ancient code still using it. Cleaning that would be nice, if somebody dares :). As a first step in that direction I would like to know where coudl we define the helper methods
newVariableTransparentSpacer "Answer a space-filling instance of me of the given color."
^ self new hResizing: #spaceFill; vResizing: #spaceFill; layoutInset: 0; borderWidth: 0; extent: 1@1; color: Color transparent
and if this is the same as
Morph new layoutPolicy: TableLayout new; hResizing: #spaceFill; vResizing: #spaceFill; layoutInset: 0; borderWidth: 0; extent: 1@1; color: Color transparent
Stef
=?ISO-8859-1?Q?st=E9phane_ducasse?= ducasse@iam.unibe.ch wrote:
Alignment has been deprecated (and should not be used anymore) but there are a lot of ancient code still using it.
Yes, well, I just wrote some more code that uses AlignmentMorph. :) I wanted #newRow and #newColumn, so please make sure those are still available somewhere before axing AlignmentMorph.
-Lex
BobsUI also use AlignmentMorph.
On 01/08/2004, at 14:17, lex@cc.gatech.edu wrote:
=?ISO-8859-1?Q?st=E9phane_ducasse?= ducasse@iam.unibe.ch wrote:
Alignment has been deprecated (and should not be used anymore) but there are a lot of ancient code still using it.
Yes, well, I just wrote some more code that uses AlignmentMorph. :) I wanted #newRow and #newColumn, so please make sure those are still available somewhere before axing AlignmentMorph.
-Lex
Javier Diaz-Reinoso Web: http://homepage.mac.com/javier_diaz_r/
On 1 août 04, at 21:17, lex@cc.gatech.edu wrote:
=?ISO-8859-1?Q?st=E9phane_ducasse?= ducasse@iam.unibe.ch wrote:
Alignment has been deprecated (and should not be used anymore) but there are a lot of ancient code still using it.
Yes, well, I just wrote some more code that uses AlignmentMorph. :) I wanted #newRow and #newColumn, so please make sure those are still available somewhere before axing AlignmentMorph.
But you saw the class comments :) So I would like to have an anwser to my question because once I know where to put newVariableTransparentSpacer, newcolumn and newRow will follow.
-Lex
squeak-dev@lists.squeakfoundation.org