开发者

How can I catch the fontSize change event?

开发者 https://www.devze.com 2023-01-15 13:40 出处:网络
I am writing a skin for a TextInp开发者_JAVA百科ut 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

I am writing a skin for a TextInp开发者_JAVA百科ut 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,


override fontSize setter, and dispatch a CHANGE event there.

0

精彩评论

暂无评论...
验证码 换一张
取 消