Skip to content

Navigation Menu

Sign in
Sign up

Better Layout - #185

Open
Luna1996 wants to merge 8 commits into
treeform:master from
Luna1996:master
Open

Better Layout #185
Luna1996 wants to merge 8 commits into
treeform:master from
Luna1996:master

Conversation

@Luna1996

@Luna1996 Luna1996 commented Feb 7, 2023

Copy link
Copy Markdown
  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. 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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /