Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRadioBox,TCheckBox在状态切换后,切换theme,border.color显示错误 #29

Open
ToMoree opened this issue Apr 14, 2021 · 0 comments

Comments

@ToMoree
Copy link

ToMoree commented Apr 14, 2021

复现步骤
1.打开demo程序
2.切换当前主题为theme-dark,将TRadioBox-A点成checked状态
3.切换theme-none,观察此时TRadioBox-A的bordercolor,并不是checked状态的bordercolor,错误。
4.TRadioBox同理。

问题分析
m_binderPropertys 存储的是控件初始化时的所有默认值。当用户操作或逻辑触发修改某些风格属性的值后,此时切换会none-theme,m_binderPropertys 并没有存储修改后的值,导致错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant