[squeak-dev] The Inbox: ToolBuilder-Morphic-cmm.285.mcz
Chris Muller
asqueaker at gmail.com
Fri Jan 14 06:44:36 UTC 2022
Moved to Treated.
On Thu, Jan 13, 2022 at 12:06 AM <commits at source.squeak.org> wrote:
>
> Chris Muller uploaded a new version of ToolBuilder-Morphic to project The Inbox:
> http://source.squeak.org/inbox/ToolBuilder-Morphic-cmm.285.mcz
>
> ==================== Summary ====================
>
> Name: ToolBuilder-Morphic-cmm.285
> Author: cmm
> Time: 13 January 2022, 12:06:18.53413 am
> UUID: fdfc0020-4e12-4f5c-a2bc-f632794ce0c3
> Ancestors: ToolBuilder-Morphic-mt.284
>
> Render field help text in the color used for comments.
>
> =============== Diff against ToolBuilder-Morphic-mt.284 ===============
>
> Item was changed:
> ----- Method: PluggableTextMorphPlus>>drawBalloonTextOn: (in category 'drawing') -----
> drawBalloonTextOn: aCanvas
> "Show balloon text in the text morph if it has no contents."
> textMorph contents ifNotEmpty: [ ^ self ].
> ([ self balloonText ]
> on: Error
> do: [ : err | 'error in balloonText' ]) ifNotNil:
> [ : text | aCanvas
> drawString: text
> in: (self innerBounds insetBy: (5 @ 2 corner: 0 @ 0))
> font: (self userInterfaceTheme balloonTextFont ifNil: [TextStyle defaultFont])
> + color: ((self userInterfaceTheme get: #comment for: SHTextStylerST80) first ifNil: [Color gray darker]) ]!
> - color: (self userInterfaceTheme balloonTextColor ifNil: [Color gray: 0.7]) ]!
>
>
More information about the Squeak-dev
mailing list
|