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

优化 PropertyLayout 接口 #4

Open
xiaohulu opened this issue May 6, 2020 · 0 comments
Open

优化 PropertyLayout 接口 #4

xiaohulu opened this issue May 6, 2020 · 0 comments

Comments

@xiaohulu
Copy link
Collaborator

xiaohulu commented May 6, 2020

让每个属性名和接口类型能刚刚好表明其用途。

关于 interface 名称的几点疑问:

  1. PropertyLayout 中定义的并不是 Widget 所有属性的 Layout 信息,而是其中一个属性的定义,所以使用 layout 不太妥
  2. propertyGroup 属性中存放的是不是也应该是 PropertyLayout 类型,这样就可以支持多层嵌套,但是具体还要看是否有这样的应用场景。
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