[Cuis-dev] LayoutMorph newColumn

ken.dickey at whidbey.com ken.dickey at whidbey.com
Thu Aug 8 06:59:52 PDT 2024


Mark,

See if the attached does not fix your problem.  Just open in FileList 
and #fileIn.

On 2024-08-08 06:43, ken.dickey--- via Cuis-dev wrote:

> So don't send #new to your subclass, send #newColumn.
-------------- next part --------------
'From Cuis7.1 [latest update: #6566] on 8 August 2024 at 6:55:45 am'!


!LayoutMorph class methodsFor: 'instance creation' stamp: 'KenD 8/8/2024 06:52:13'!
initializedInstance

	^self newRow! !

!LayoutMorph class methodsFor: 'instance creation' stamp: 'KenD 8/8/2024 06:53:03'!
new
	"Answer a row by default so the 'new morph' menu doesn't fail..."
	^self error: 'Use LayoutMorph newRow or LayoutMorph newColumn'.! !

!LayoutMorph class methodsFor: 'instance creation' stamp: 'jmv 3/9/2011 13:53'!
newColumn
	^self basicNew initialize beColumn! !

!LayoutMorph class methodsFor: 'instance creation' stamp: 'jmv 3/9/2011 13:53'!
newRow
	^self basicNew initialize beRow! !


More information about the Cuis-dev mailing list