Le 30/8/16 à 22:16, Nicolai Hess a écrit :


2016-08-30 20:01 GMT+02:00 Brad Selfridge <bsselfri...@gmail.com <mailto:bsselfri...@gmail.com>>:

    How does one change Spec labels so that they don't show as black
    on Dark
    Theme but do show as black on standard Pharo theme?



Looks like ListModel should overwrite  #defaultColor

defaultColor
    ^ Smalltalk ui theme textColor

But I am not sure how spec is supposed to work with theming, maybe only the widget adapter should do this.

Me neither :)
and we never thought about it.
Now I would introduce theme in a point high in the hierarchy and provide way to set it and avoid this plague: Smalltalk ui theme

Stef


    -----
    Brad Selfridge
    --
    View this message in context:
    http://forum.world.st/Spec-Label-is-Black-on-Dark-theme-tp4913253.html
    <http://forum.world.st/Spec-Label-is-Black-on-Dark-theme-tp4913253.html>
    Sent from the Pharo Smalltalk Users mailing list archive at
    Nabble.com.



Reply via email to