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

Better Layout #185

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Better Layout #185

wants to merge 8 commits into from

Conversation

Luna1996
Copy link

@Luna1996 Luna1996 commented Feb 7, 2023

  1. try to compute parent layout when possible. (strench in strench)
  2. node.layoutWeight => support flex-like auto-layout
  3. node.wrapContent => toggle whether auto-layout should wrap content size

Luna1996 and others added 8 commits February 7, 2023 23:40
1. try to compute parent layout when possible. (strench in strench)
2. node.layoutWeight => support flex-like auto-layout
3. node.wrapContent => toggle whether auto-layout should wrap content size
1. can auto resize only width
2. no strange lift when editing
3. when end editing, will request redraw. ( avoid blank text
4. if not in multiline mode, hit enter will also end editing

TODO:
when text len is 0, the edit course has been drawn wrong
2. get rid of some wraning
2. better auto resize
3. eliminate some warning
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

Successfully merging this pull request may close these issues.

None yet

1 participant