[squeak-dev] Delayed preference color updating

karl ramberg karlramberg at gmail.com
Thu Dec 31 20:53:52 UTC 2015


I have a issue with non modal color changing.
The NewColorPicker is not modal and the method returns a value before the
user click 'close' button in NewColorPicker.
How can I change behavior to update color when the button is clicked?

PBColorPreferenceView>>changeColor: aButton
aButton changeColor. "returns the current color when not modal"
self preference preferenceValue: aButton fillStyle.
button label: self preference preferenceValue asString.
self adjustLabelColor

Best,
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20151231/127eb7c4/attachment.htm


More information about the Squeak-dev mailing list