You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In FlatButton line 49you set mNormalText and don't allow modifying it again. When a programmer needs the idle text to change, there's no available method to override that initial value, which is later reused whenever the button changes states.
Solution: expose setNormalText()
Workaround: Subclass ActionProcessButton, add your accessible mNormalText field and override getNormalText() to return it instead.
The text was updated successfully, but these errors were encountered:
In
FlatButton
line49
you set mNormalText and don't allow modifying it again. When a programmer needs the idle text to change, there's no available method to override that initial value, which is later reused whenever the button changes states.Solution: expose setNormalText()
Workaround: Subclass
ActionProcessButton
, add your accessiblemNormalText
field and overridegetNormalText()
to return it instead.The text was updated successfully, but these errors were encountered: