[FIX][Well allmost ;-)] PartsWindow Re: [BUG-3.1-CS3527] More Standard
Parts Bin
Karl Ramberg
karl.ramberg at chello.se
Thu Feb 8 21:50:29 UTC 2001
Standard Parts Window got the wrong extent because it
asked for the book's extent which in this case was wrong.
I changed it to look for fullBounds corner which almost
does the job. Maybe a start for the real solution :-)
Karl
Karl
Mike Thomas wrote:
>
> Hi again.
>
> In the Standard Parts Bin there is a Morph which contains a green morph,
> three buttons and a trash bin (two pages back from the starting page).
>
> Dragging this out has unreproducable results - sometimes it causes a
> walkback, sometimes it disappears when placed.
>
> Disappearance seems to be related to moving the mouse cursor off the Squeak
> window in the top left direction.
>
> I was only able to get the walkback to happen in one instance, and forgot to
> record it.
>
> Cheers
>
> Mike Thomas.
-------------- next part --------------
'From Squeak3.1alpha of 5 February 2001 [latest update: #3534] on 8 February 2001 at 10:40:26 pm'!
!PartsWindow methodsFor: 'as yet unclassified' stamp: 'kfr 2/8/2001 22:39'!
book: aBook
book _ aBook.
self addMorph: aBook frame: (0 at 0 extent: 1 at 1).
book beSticky.
self extent: aBook fullBounds corner + (0 at self labelHeight).
nextButton target: aBook.
prevButton target: aBook! !
More information about the Squeak-dev
mailing list
|