[squeak-dev] The Trunk: ToolBuilder-Kernel-eem.161.mcz

Eliot Miranda eliot.miranda at gmail.com
Sat Jul 16 04:21:27 UTC 2022


On Thu, Jul 14, 2022 at 12:20 AM Marcel Taeumel <marcel.taeumel at hpi.de>
wrote:

> Hi Eliot --
>
> >  to make balloon help easier to format/read.
>
> Note that help text should use only semantic line breaks, e.g., for bullet
> points or paragraph separation. Other breaks will happen automatically.
> Same for dialog texts. Then, rendering will look nice for all those
> different fonts or scale factors. :-)
>

Agreed.  In my use case I want to put something on a second line to make it
stand out.

>
> Best,
> Marcel
>
> Am 14.07.2022 01:29:03 schrieb commits at source.squeak.org <
> commits at source.squeak.org>:
> Eliot Miranda uploaded a new version of ToolBuilder-Kernel to project The
> Trunk:
> http://source.squeak.org/trunk/ToolBuilder-Kernel-eem.161.mcz
>
> ==================== Summary ====================
>
> Name: ToolBuilder-Kernel-eem.161
> Author: eem
> Time: 13 July 2022, 4:28:54.356068 pm
> UUID: 7f9d44e6-c980-4c58-8bfe-57108fb8f8e0
> Ancestors: ToolBuilder-Kernel-tpr.160
>
> Allow the help in a menu tuple contain \'s for carriage returns, to make
> balloon help easier to format/read.
>
> =============== Diff against ToolBuilder-Kernel-tpr.160 ===============
>
> Item was changed:
> ----- Method: PluggableMenuSpec>>addList: (in category 'construction')
> -----
> addList: aList
> "Add the given items to this menu, where each item is a pair ( ).. If an
> element of the list is simply the symobl $-, add a line to the receiver.
> The optional third element of each entry, if present, provides balloon
> help."
>
> aList do: [:tuple |
> + tuple == #-
> - (tuple == #-)
> ifTrue: [self addSeparator]
> ifFalse:[ | item |
> item := self add: tuple first target: model selector: tuple second
> argumentList: #().
> + tuple size > 2 ifTrue:[item help: tuple third withCRs]]]!
> - tuple size > 2 ifTrue:[item help: tuple third]]]!
>
>
>
>

-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220715/afc1d2a9/attachment.html>


More information about the Squeak-dev mailing list