Hi all,
It used to be that you can return a formatted Text from the method
designated via the label selector of a pluggable tree. This screenshot is
from Squeak 5.2:
[image: image.png]
In Trunk, this is broken. With the same code, the node labels are always
unformatted, (except for the highlight color, which is used in
ObjectExplorer, for example):
[image: image.png]
In case it was never supposed to work like that, how can I have
Text-formatted labels in a pluggable tree in a supported way?
Kind regards,
Jakob
Code excerpts for reference:
chooserWidgetSpecs: builder
^ {builder pluggableTreeSpec new
"..."
label: #nodeLabelOf:; "..."
nodeLabelOf: aSquotDiffNode
| title |
title := aSquotDiffNode title.
^ aSquotDiffNode anyChildNeedsChoice
ifTrue: [(Text fromString: title) allBold; yourself]
ifFalse: [title]