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

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Tue Feb 8 16:33:17 UTC 2022


> +        ^ (4 "px" * RealEstateAgent scaleFactor) truncated!

Does this cry out for a new Number >> #pixels? :-)

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Dienstag, 8. Februar 2022 13:35:37
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: ToolBuilder-Kernel-mt.152.mcz

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!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220208/b5f4f606/attachment.html>


More information about the Squeak-dev mailing list