[ENH] Update of addHorizontalScrollbars changeset for 3.7

Steven Swerling sswerling at yahoo.com
Wed Mar 10 19:03:06 UTC 2004


 From the preamble:

 From Squeak3.7alpha of 11 September 2003 [latest update: #5764] on 10 
March 2004 at 1:47:39 pm'!
"Change Set:		addHorzScrollBar37v1-sps
Date:			10 March 2004
Author:			Steven Swerling

Repost of old changeset for adding horizontal scroll bars to 
ScrollPanes. Updated and cleaned up for 3.7 (and only for 3.7). The 
scroll pane now ignores the preference for showing scrollbars only when 
needed -- this is now the default. If you don't like it for a particular 
pane, you can call one of the #alwaysShow... or #hideXIndefinitely 
options for the pane (see the method category, 'accessing options'). 
Calls to some obsolete methods that assume 1 scrollbar are now forwarded 
to the corresponding method for the vertical scrollbar, see the 
'obsolete' method category.

WARNING: The last thing you need is for a bug in ScrollPane, as it could 
prevent the Debugger from functioning. I don't know of any in this code, 
but better safe then sorry. So consider this a beta. Please tinker 
around with your applications to make sure everything is working ok 
before saving your image.

CAVEAT: When you file in this changeset, it will add an hScrollBar to 
all existing ScrollPanes -- the color will be off on these. When you 
open new windows, the horz scrollbar will take on the appropriate color.

Tested on a fresh 3.7 image w/ updates up to #5764.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addHorzScrollbar37v1-sps.cs.gz
Type: application/gzip
Size: 9850 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040310/c2d953c5/addHorzScrollbar37v1-sps.cs.bin


More information about the Squeak-dev mailing list