[squeak-dev] The Inbox: Morphic-tonyg.1804.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Nov 29 12:26:45 UTC 2021


A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-tonyg.1804.mcz

==================== Summary ====================

Name: Morphic-tonyg.1804
Author: tonyg
Time: 29 November 2021, 1:26:42.579417 pm
UUID: 91dd5db6-e377-48c1-a9aa-bab83670c14f
Ancestors: Morphic-mt.1803

Suggested customization hooks to set various kinds of grip/scrollbar sizes. I have found this useful for working with Squeak on cell-phone sized devices with high DPI.

=============== Diff against Morphic-mt.1803 ===============

Item was changed:
  ----- Method: AbstractResizerMorph class>>gripThickness (in category 'preferences') -----
  gripThickness
  	"A number in pixels that encodes the area were the user can target splitters or edge grips."
  
  	<preference: 'Grip Thickness'
  		category: 'windows'
  		description: 'A number in pixels that encodes the area were the user can target splitters or edge grips such as in application windows. Bigger grips make it easier to click on them.'
  		type: #Number>
  		
+ 	^ GripThickness ifNil: [(UserInterfaceTheme current get: #gripThickness) ifNil: [4]]!
- 	^ GripThickness ifNil: [4]!

Item was changed:
  ----- Method: AbstractResizerMorph class>>handleLength (in category 'preferences') -----
  handleLength
  
  	<preference: 'Handle Length'
  		category: 'windows'
  		description: 'AThe size of a grip handle if shown. Can be interpreted as width or height, depending of the resizer orientation. Does not affect the clickable area. See grip thickness for that.'
  		type: #Number>
  			
+ 	^ HandleLength ifNil: [(UserInterfaceTheme current get: #handleLength) ifNil: [25]]!
- 	^ HandleLength ifNil: [25]!

Item was changed:
  ----- Method: ScrollPane class>>scrollBarThickness (in category 'defaults') -----
  scrollBarThickness
- 
  	^ Preferences scrollBarsNarrow
+ 		ifTrue: [(UserInterfaceTheme current get: #scrollBarThicknessNarrow) ifNil: [10]]
+ 		ifFalse: [(UserInterfaceTheme current get: #scrollBarThickness) ifNil: [14]]!
- 		ifTrue: [10]
- 		ifFalse: [14]!



More information about the Squeak-dev mailing list