Hi,
Consider the following two code snippet below:
[1]
(RubScrolledTextMorph new��
textColor: Smalltalk ui theme textColor;
setText: (Text��
string: 'a b c'
attributes: {TextColor green});
yourself) openInWorld.
[2]
(RubScrolledTextMorph new��
setText: (Text��
string: 'a b c'
attributes: {TextColor green});
textColor: Smalltalk ui theme textColor;
yourself) openInWorld.
In the first case the color of the text is the one from the theme, while in the second the color is green.
So if set after the text object, the textColor attribute overrides the actual color of the text.
Is this the expected behaviour? With PluggableTextMorph the color of the text object always tool priority over the #textColor atribute of the text morph.
Cheers,
Andrei