On Thu, Sep 01, 2016 at 09:18:47PM -0700, Sean P. DeNigris wrote:
> Is there a way to change the emphasis of Spec text (TextModel/TextInputModel,
> or even LabelModel - I would trade edit-ability for styling)?

LabelModel has #emphasis:

LabelModel new
        emphasis: #(bold);
        label: 'bold';
        openWithSpec

TextModel accepts Text:

TextModel new
        text: 'bold' asText allBold, (' red' asText makeAllColor: Color red);
        openWithSpec

TextInputFieldModel will most likely require #whenBuiltDo: and Morphic hacking.

Peter

Reply via email to