[FIX] hScrollbar fixes2

Steven Swerling sswerling at yahoo.com
Sun Apr 4 16:45:41 UTC 2004


Martin Wirblat wrote:

> IMO it would be nice to be able to tell a specific Morph to have 
> horizontal scrollbars, but generally have them disabled. 

Good point.

This changeset adds to the recent fixes some tweaks to the preferences 
accessor in ScrollPane so that you can override them on any individual 
ScrollPane after it has been initialized. For your example, you would 
set the Squeak system preference "alwaysHideHScrollbar" to true, and 
call "myScrollMorph alwaysHideHScrollBar: false" on the morph that you 
want to override that behavior.

Here is the description of the changeset in the preamble:
"Fix for hScrollbar bug when used in MultiColumn lists. Fixed some cases 
where the hScrollbar is obscured when using flop-out scrollbars. Also, 
adds a preference called 'alwaysHideHScrollbar', which suppresses 
display of horizontal scrollbars (this option overrides the 
'alwaysShowHorizontalScrollbar' pref). Tweaks the pane options accessors 
to allow overriding system preferences on individual scrollpanes"

Thanks for the feedback,
Steve S.

> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hScrollbarFixes2-sps.2.cs.gz
Type: application/gzip
Size: 3231 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040404/e1aed271/hScrollbarFixes2-sps.2.cs.bin


More information about the Squeak-dev mailing list