[squeak-dev] How to change balloon help colors?
Bert Freudenberg
bert at freudenbergs.de
Tue Jan 12 09:34:52 UTC 2016
On 12.01.2016, at 06:20, Chris Muller <asqueaker at gmail.com> wrote:
>
> I want to have BalloonMorphs with translucent color and white text.
> Setting BalloonMorph class>>#setBalloonColor: with a TranslucentColor
> does not work -- it sets the color but displays only at alpha 1.0.
Works fine in an Etoys image, if you want to compare.
Note that the system uses balloonMorphClass nowadays, though.
> Adding the following to (BalloonMorph class>>#getTextMorph:for:) as
> the last line before the return:
>
> m textColor: Color white
>
> does not work.
Try
attributes: {TextFontReference toFont: balloonOwner balloonFont. TextColor white}
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160112/6d3abf0c/smime.bin
More information about the Squeak-dev
mailing list
|