[BUG][FIX] can't create TwoWayScrollPanes any more

Bob Arning arning at charm.net
Mon Feb 4 23:55:53 UTC 2002


Ned,

This is fixed in recent 3.3 updates and will be added to the 3.2 stream as well.

Cheers,
Bob

On Mon, 4 Feb 2002 15:17:55 -0800 Ned Konz <ned at bike-nomad.com> wrote:
>in image 4653, try:
>
>TwoWayScrollPane new
>
>with the new scrollbar look. It blows up when it tries to get the color of 
>its nonexistent owner.
>
>This fixes the problem:
>
>TwoWayScrollPane>>colorForInsets
>	"My submorphs use the surrounding color"
>	| aColor |
>	owner ifNotNil: [
>		(aColor _ owner color) ifKindOf: Color thenDo: [:c | ^ aColor].
>	].
>	"This workaround relates to cases where the scrollPane's color is not a true 
>color but rather an InfiniteForm, which is not happy to be returned here"
>	^ Color white




More information about the Squeak-dev mailing list