<div dir="ltr">I also didn't find how it came to be when I had a brief look at the classes involved with the tree some weeks ago. Yet it used to work and now it doesn't. Originally I wanted to investigate and compare with Squeak 5.2 further, but unfortunately I won't have the time these weeks.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Sa., 12. Okt. 2019 um 10:20 Uhr schrieb Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="gmail-m_1488507999806189559__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">
                                        Hi Jakob,<div><br></div><div>how do you set the formatting? See:</div><div><br></div><div>SimpleHIerarchicalListMorph >> #addMorphsTo:from:...</div><div>SimpleHIerarchicalListMorph >> #font</div><div>IndentingListItemMorph (StringMorph) >> #font:</div><div>IndentingListItemMorph (StringMorph) >> #fontToUse</div><div>ListItemWrapper >> #asString</div><div><br></div><div>...I don't see any support for item-specific text attributes such as the font emphasis. Sorry. There has been a discussion about #preferredColor though:</div><div><br></div><div><a href="http://forum.world.st/The-Inbox-Morphic-pre-1491-mcz-td5100687.html" target="_blank"><span style="font-size:10pt">http://forum.world.st/The-Inbox-Morphic-pre-1491-mcz-td5100687.html</span></a></div><div><br></div><div>Best,</div><div>Marcel</div><div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 12.10.2019 02:31:10 schrieb Jakob Reschke <<a href="mailto:forums.jakob@resfarm.de" target="_blank">forums.jakob@resfarm.de</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr">Hi all,<div><br></div><div>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:</div><div><div><img alt="image.png" width="191" height="79" style="margin-right: 0px;"><br></div></div><div><br></div><div>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):</div><div><div><img alt="image.png" width="191" height="74" style="margin-right: 0px;"><br></div></div><div><br></div><div>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?</div><div><br></div><div>Kind regards,<br>Jakob</div><div><br></div><div>Code excerpts for reference:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>chooserWidgetSpecs: builder<br>   ^ {builder pluggableTreeSpec new<br>   "..."<br>   label: #nodeLabelOf:; "..."<br></div><div><br></div><div>nodeLabelOf: aSquotDiffNode <br>   | title |<br>   title := aSquotDiffNode title.<br>   ^ aSquotDiffNode anyChildNeedsChoice<br>      ifTrue: [(Text fromString: title) allBold; yourself]<br>      ifFalse: [title]<br></div></blockquote></div></div>
</div></blockquote>
                                        </div></div><br>
</blockquote></div>