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

递归 adjustSize 实现 #117

Open
3 tasks
ChinaIceF opened this issue Aug 15, 2024 · 0 comments
Open
3 tasks

递归 adjustSize 实现 #117

ChinaIceF opened this issue Aug 15, 2024 · 0 comments
Assignees

Comments

@ChinaIceF
Copy link
Owner

ChinaIceF commented Aug 15, 2024

  • SiWidgetSiLabel 中引入新的信号 widthChanged heightChanged sizeChanged,在 resizeEvent 事件中被发射,且当且仅当 event.oldSize() != event.size() 时发射
  • 密堆积容器添加控件时,尝试将子控件的 widthChangedheightChanged 信号连接到自己的 adjustSize 方法上,从而自动地在必要的时候调整大小
  • 新增开关用于设置是否自动连接信号到 adjustSize 方法
@ChinaIceF ChinaIceF self-assigned this Aug 15, 2024
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