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

希望主题Theme和样式Style可以动态创建,动态绑定到控件 #16

Closed
sohide opened this issue Oct 23, 2018 · 3 comments
Closed

Comments

@sohide
Copy link
Contributor

sohide commented Oct 23, 2018

目前Theme和Style只能预先在xml里面描述好,在程序Init的时候加载到管理器
但程序运行中途无法动态增加新的样式,或修改样式,并立即应用到Widget上

这样在某些情况下使用不够方便,比如根据用户选择的颜色,动态修改一个Widget的背景色

@xianjimli
Copy link
Member

好,谢谢,近期加上。

@ytchw101
Copy link

这个动态创建Style
实现了吗?

@xianjimli
Copy link
Member

加了,目前只是给IDE用的。

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

3 participants