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

Auto layouting by node naming #159

Closed
Insality opened this issue Jan 13, 2022 · 4 comments
Closed

Auto layouting by node naming #159

Insality opened this issue Jan 13, 2022 · 4 comments
Milestone

Comments

@Insality
Copy link
Owner

No description provided.

@Insality
Copy link
Owner Author

We can't get the children list
So we need to point all nodes to make auto druid? For future get_children method?

druid:new(self, { nodes_list })
self.druid:auto({nodes_list})

@Insality Insality added this to the 0.8.0 milestone Jan 15, 2022
@Insality Insality removed this from the 0.8.0 milestone Jan 27, 2022
@Insality
Copy link
Owner Author

Ok, it will be as part of generate component lua file from gui scene
It will parse node name to create stubs in new lua file

@Insality
Copy link
Owner Author

Supported components:

  • button
  • text
  • lang_text
  • grid
  • static_grid
  • dynamic_grid
  • scroll_view
  • blocker
  • slider
  • progress
  • timer

@Insality
Copy link
Owner Author

Solved

@Insality Insality added this to the 0.9.0 milestone Mar 11, 2022
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