[squeak-dev] The Inbox: Morphic-ct.1609.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 13 23:58:24 UTC 2019


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

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

Name: Morphic-ct.1609
Author: ct
Time: 14 December 2019, 12:58:17.341841 am
UUID: ac8e9947-b987-3c40-a47e-fb0539366bf2
Ancestors: Morphic-mt.1608

Revise documentation of morphic layout properties, very minor.

- Specify possible types of insets
- Fix a few copy-'n'-paste slips

=============== Diff against Morphic-mt.1608 ===============

Item was changed:
  ----- Method: Morph>>cellInset: (in category 'layout-properties') -----
+ cellInset: aNumberPointOrRectangle
- cellInset: aNumber
  	"Layout specific. This property specifies an extra inset for each cell in the layout."
+ 	self assureTableProperties cellInset: aNumberPointOrRectangle.
- 	self assureTableProperties cellInset: aNumber.
  	self layoutChanged.!

Item was changed:
  ----- Method: Morph>>layoutFrame: (in category 'layout-properties') -----
  layoutFrame: aLayoutFrame
+ 	"Layout specific. Set the layout frame describing where the receiver should appear in a proportional layout"
- 	"Layout specific. Return the layout frame describing where the receiver should appear in a proportional layout"
  	self layoutFrame == aLayoutFrame ifTrue:[^self].
  	self assureExtension layoutFrame: aLayoutFrame.
  	self layoutChanged.!

Item was changed:
  ----- Method: Morph>>layoutInset: (in category 'layout-properties') -----
+ layoutInset: aNumberPointOrRectangle
+ 	"Set the extra inset for layouts"
+ 	self assureTableProperties layoutInset: aNumberPointOrRectangle.
- layoutInset: aNumber
- 	"Return the extra inset for layouts"
- 	self assureTableProperties layoutInset: aNumber.
  	self layoutChanged.!

Item was changed:
  ----- Method: Morph>>layoutPolicy: (in category 'layout-properties') -----
  layoutPolicy: aLayoutPolicy
+ 	"Layout specific. Set the layout policy describing how children of the receiver should appear."
- 	"Layout specific. Return the layout policy describing how children of the receiver should appear."
  	self layoutPolicy == aLayoutPolicy ifTrue:[^self].
  	self assureExtension layoutPolicy: aLayoutPolicy.
  	self layoutChanged.!

Item was changed:
  ----- Method: Morph>>layoutProperties: (in category 'layout-properties') -----
  layoutProperties: newProperties
+ 	"Set the current layout properties associated with the receiver"
- 	"Return the current layout properties associated with the receiver"
  	self layoutProperties == newProperties ifTrue:[^self].
  	self assureExtension layoutProperties: newProperties.
  !

Item was changed:
  ----- Method: Morph>>spaceFillWeight (in category 'layout-properties') -----
  spaceFillWeight
+ 	"Layout specific. This property describes the relative weight that should be given to the receiver when extra space is distributed between different #spaceFill cells."
- 	"Layout specific. This property describes the relative weight that 
- 	should be given to the receiver when extra space is distributed 
- 	between different #spaceFill cells."
  
  	^ self
  		valueOfProperty: #spaceFillWeight
  		ifAbsent: [1]!

Item was changed:
  ----- Method: TableLayoutProperties>>cellInset: (in category 'accessing') -----
+ cellInset: aNumberPointOrRectangle
+ 	cellInset := aNumberPointOrRectangle!
- cellInset: aNumber
- 	cellInset := aNumber!

Item was changed:
  ----- Method: TableLayoutProperties>>layoutInset: (in category 'accessing') -----
+ layoutInset: aNumberPointOrRectangle
+ 	layoutInset := aNumberPointOrRectangle!
- layoutInset: aNumber
- 	layoutInset := aNumber!



More information about the Squeak-dev mailing list