How can I catch the fontSize change event?

懵懂的女人 提交于 2019-12-24 10:58:19

问题


I am writing a skin for a TextInput control, and I want it to change when the fontSize style changes dynamically. I see this is done in the default TextInputSkin but couldn't decipher the behavior form the code.

How is this done?

thanks,


回答1:


override fontSize setter, and dispatch a CHANGE event there.



来源:https://stackoverflow.com/questions/3692094/how-can-i-catch-the-fontsize-change-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!