[FIX] Re: 3.0gamma files available on UIUC

Jesse Welton jwelton at pacific.mps.ohio-state.edu
Wed Feb 14 15:40:57 UTC 2001


On Wed, 14 Feb 2001, Stephan Rudlof wrote:
> 
> The collapse and close buttons of 'Welcome to' and 'Getting Started' windows
> are not positioned at the middle line of the win bar like for e.g.
> workspaces or preferences wins.

The problem is that the buttons are slightly too large, which makes
them appear displaced.  I sent in a fix for this last week.  Here it
is again.

-Jesse

-------------- next part --------------
'From Squeak3.0 of 4 February 2001 [latest update: #3414] on 6 February 2001 at 12:28:17 pm'!
"Change Set:		WindowLayoutQuickFix
Date:			6 February 2001
Author:			Jesse Welton

Quick fix for the niggling little problem with close & collapse buttons being misplaced: They were the wrong size."!


!SystemWindow methodsFor: 'initialization' stamp: 'JW 2/6/2001 12:24'!
fixOldButtonExtents
	"Set close and collapse buttons to the right size."

	collapseBox ifNotNil: [collapseBox extent: 14 at 14].
	closeBox ifNotNil: [closeBox extent: 14 at 14].
! !

"Postscript:
Resize buttons on the existing windows."
SystemWindow allInstances do: [:w | w fixOldButtonExtents].!



More information about the Squeak-dev mailing list