I'm on VA Smalltalk version 9.1
I have a view with a bunch of AbtToggleButtonView. I was able to change the backgroundColor using:
(self subpartNamed: 'TB1') widget backgroundColor: Color black.
but I'm not able to change the text color to a pale color when the background color is darker. In fact, the text color remained black regardless of what I set it to, like this:
(self subpartNamed: 'TB1') widget foregroundColor: Color white.
(self subpartNamed: 'TB1') is a AbtToggleButtonView and (self subpartNamed: 'TB1') widget is a CwToggleButton. Ideally, I like to set the colors to be:
(self subpartNamed: tbx) widget backgroundColor: aColor.
(self subpartNamed: tbx) widget foregroundColor: aColor listForegroundColor.
But the text color is black no matter what I do. Is there a trick to setting the text color?
thanks
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].
Visit this group at
https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/va-smalltalk/761d86e7-0a42-4ade-af3e-19ea40ff2083%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.