Changing the background of a ToButton through background: (after the window has been launched, see #157) make it revert back to white after hovering on the button.
This is due to the fact that it uses the raw theme (ToGeneralButtonSkin).
Currently, a workaround takes the form of
addTokenNamed: #'color-bg-container' withValue: Color color
which isn't really intuitive.
Instead, it would be better to change the behavior of background: so that it doesn't revert its color back to white after being hovered on.
Changing the background of a ToButton through
background:
(after the window has been launched, see #157) make it revert back to white after hovering on the button. This is due to the fact that it uses the raw theme (ToGeneralButtonSkin
).Currently, a workaround takes the form of
which isn't really intuitive. Instead, it would be better to change the behavior of
background:
so that it doesn't revert its color back to white after being hovered on.