[BUG]LayoutCell>>hSpaceFill ---> anyMask:
Karl Ramberg
karl.ramberg at chello.se
Sat Sep 8 11:39:31 UTC 2001
Playing around with the layout I get into serious
trouble when setting a global rect or square to cell spacing.
To reproduce:
execute
data _ TableDataMorph new.
data color: Color transparent.
data borderColor: Color black.
data borderWidth: 1.
data layoutPolicy: TableLayout new.
data listDirection: #leftToRight.
data wrapDirection: #topToBottom.
data wrapCentering: #topLeft.
data hResizing: #shrinkWrap.
data vResizing: #shrinkWrap.
data layoutInset: 0.
1 to: 10 do:[:i| data addMorphBack:(BorderedMorph new)].
data openInWorld.
Then set the cell spacing to global rect or square
and try to resize the morph.
Karl
Here is the debug log:
8 September 2001 1:05:57 pm
Error: MessageNotUnderstood: anyMask:
VM: Mac OS - Squeak3.1alpha of 16 May 2001 [latest update: #4081]
Image: Squeak3.1alpha [latest update: #4332]
UndefinedObject(Object)>>error:
[] in WorldState>>displayWorldSafely:
[] in BlockContext>>ifError:
MessageNotUnderstood(Exception)>>handlerAction
MessageNotUnderstood(Exception)>>signal
UndefinedObject(Object)>>doesNotUnderstand:
LayoutCell>>hSpaceFill
[] in TableLayout>>computeExtraSpacing:in:horizontal:target:
Array(SequenceableCollection)>>do:
TableLayout>>computeExtraSpacing:in:horizontal:target:
TableLayout>>layout:in:
RectangleMorph(Morph)>>doLayoutIn:
RectangleMorph(Morph)>>fullBounds
[] in WorldState>>displayWorld:submorphs:
Array(SequenceableCollection)>>do:
WorldState>>displayWorld:submorphs:
PasteUpMorph>>privateOuterDisplayWorld
PasteUpMorph>>displayWorld
[] in WorldState>>displayWorldSafely:
BlockContext>>on:do:
BlockContext>>ifError:
WorldState>>displayWorldSafely:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess
More information about the Squeak-dev
mailing list
|