[squeak-dev] The Trunk: ToolBuilder-Kernel-mt.152.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 8 12:35:37 UTC 2022


Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.152.mcz

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

Name: ToolBuilder-Kernel-mt.152
Author: mt
Time: 8 February 2022, 1:35:37.528027 pm
UUID: ddb74ef3-1ce6-5c4b-8ac3-93c36d5eba25
Ancestors: ToolBuilder-Kernel-ct.151

Preparing commit of a glorious pixel hunt. :-)

=============== Diff against ToolBuilder-Kernel-ct.151 ===============

Item was added:
+ ----- Method: ToolBuilder>>buttonRowHeight (in category 'layout hints') -----
+ buttonRowHeight
+ 	"Answers the height in pixels a button rowtypically needs serve buttons of clickable size."
+ 	
+ 	^ (Preferences standardButtonFont height * 2.5) truncated!

Item was added:
+ ----- Method: ToolBuilder>>dialogPadding (in category 'layout hints') -----
+ dialogPadding
+ 
+ 	^ (4 "px" * RealEstateAgent scaleFactor) truncated!

Item was added:
+ ----- Method: ToolBuilder>>dialogSpacing (in category 'layout hints') -----
+ dialogSpacing
+ 
+ 	^ (4 "px" * RealEstateAgent scaleFactor) truncated!

Item was added:
+ ----- Method: ToolBuilder>>inputFieldHeight (in category 'layout hints') -----
+ inputFieldHeight
+ 	
+ 	^ self inputFieldHeightFor: 1!

Item was added:
+ ----- Method: ToolBuilder>>inputFieldHeightFor: (in category 'layout hints') -----
+ inputFieldHeightFor: numLines
+ 	"Answers the height in pixels an input field typically needs to be drawn without clipping using a ProportionalLayout and LayoutFrame."
+ 	
+ 	^ (TextStyle defaultFont lineGrid * 3/2) truncated * numLines!

Item was added:
+ ----- Method: ToolBuilder>>listHeight (in category 'layout hints') -----
+ listHeight
+ 	
+ 	^ self listHeightFor: 1!

Item was added:
+ ----- Method: ToolBuilder>>listHeightFor: (in category 'layout hints') -----
+ listHeightFor: numItems
+ 	"Answers the height in pixels a list typically needs to be drawn without clipping using a ProportionalLayout and LayoutFrame."
+ 	
+ 	^ Preferences standardListFont lineGridForMorphs * numItems!

Item was added:
+ ----- Method: ToolBuilder>>panelPadding (in category 'layout hints') -----
+ panelPadding
+ 
+ 	^ 0!

Item was added:
+ ----- Method: ToolBuilder>>panelSpacing (in category 'layout hints') -----
+ panelSpacing
+ 
+ 	^ (2 "px" * RealEstateAgent scaleFactor) truncated!

Item was added:
+ ----- Method: ToolBuilder>>windowPadding (in category 'layout hints') -----
+ windowPadding
+ 
+ 	^ (4 "px" * RealEstateAgent scaleFactor) truncated!

Item was added:
+ ----- Method: ToolBuilder>>windowSpacing (in category 'layout hints') -----
+ windowSpacing
+ 
+ 	^ (4 "px" * RealEstateAgent scaleFactor) truncated!



More information about the Squeak-dev mailing list