Hey, all..
I am taking the Pharo Mooc, and was wondering:
is there any way to change the color next to the test method name?
I am colorblind, and I can’t tell the different between green and yellow.
Thanks!
peace,
sergio
photographer, journalist, visionary
Public Key: https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social
https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
Hi,
Those buttons are created in ClyTestResultProperty >> createIcon.
They rely on the icons founds in Smalltalk ui icon.
I didn't find a nice way to modify it radically so you can see the
difference.
So here's a bad way :D
(Smalltalk ui icon iconNamed: #testGreenIcon) becomeForward: (Smalltalk
ui icon iconNamed: #testGreenIcon) darker darker.
(Smalltalk ui icon iconNamed: #testYellowIcon) becomeForward: (Smalltalk
ui icon iconNamed: #testYellowIcon) dimmed dimmed.
(Note that if you execute it several times, it will be darker and darker
until you get a black icon!)
The only other way I found would be to recreate the object, but I'm not
comfortable enough with UI stuff to help you more than that :/
Pierre
On 19/11/2020 02:12, sergio ruiz wrote:
Hey, all..
I am taking the Pharo Mooc, and was wondering:
is there any way to change the color next to the test method name?
I am colorblind, and I can’t tell the different between green and yellow.
Thanks!
peace,
sergio
photographer, journalist, visionary
Public Key:
https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social mailto:sergio_101@mastodon.social
https://sergio101.com https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
ah! i just saw this.
thanks for the help..
On Nov 19, 2020, at 2:20 AM, hogoww pierre.misse-chanabier@inria.fr wrote:
The only other way I found would be to recreate the object, but I'm not comfortable enough with UI stuff to help you more than that :/
peace,
sergio
photographer, journalist, visionary
Public Key: https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social
https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
sergio
please let us know how e can proceed because we could do a theme for colorblind people.
S
On 19 Nov 2020, at 02:12, sergio ruiz sergio.rrd@gmail.com wrote:
Hey, all..
I am taking the Pharo Mooc, and was wondering:
is there any way to change the color next to the test method name?
I am colorblind, and I can’t tell the different between green and yellow.
Thanks!
peace,
sergio
photographer, journalist, visionary
Public Key: https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2 https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social mailto:sergio_101@mastodon.social
https://sergio101.com https://sergio101.com/
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France