Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Recipe: Changing scrollbar width
Last updated at 12:38 am UTC on 13 December 2011

Problem

You want to change the width of the scrollbars to either save screen estate or just have a little different UI look.

Solution

Go to the class ScrollPane and change the constant in the method

 scrollbarWidth "Includes border"
 	^ 12

(Or, if you just want narrower scrollbars, there is now a "scrollBarsNarrow" Squeak Performance Tuning available.)

(In Squeak 4.2 the method is now called scrollBarThickness)

Source

Squeak email list - Stephen T. Pope - 1 Dec 1999

See also

Preferences under help