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

Widgets overflow node until resized #2

Open
daniel-lewis-ab opened this issue May 10, 2024 · 3 comments
Open

Widgets overflow node until resized #2

daniel-lewis-ab opened this issue May 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@daniel-lewis-ab
Copy link
Owner

image
It doing that thing too.

@daniel-lewis-ab daniel-lewis-ab added the bug Something isn't working label May 10, 2024
@daniel-lewis-ab
Copy link
Owner Author

This is likely due to LGraphNode.configure() simply setting size rather than recalculating it.

@daniel-lewis-ab
Copy link
Owner Author

Went through the lgraphnode.js computeSize(). Didn't sentinel or print out, just refactored a bit and pondered and didn't get it yet.

@atlasan
Copy link
Collaborator

atlasan commented Jun 8, 2024

image
That is solely due to old json: node was upgraded after creating the json, there is stored and old sizing that a computeSize would resolve. Notice the same node newly placed is correct. Solution is replace the Benchmark demo.
About sizing I was working a little on that on previous branches, will try to restore free_resize option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants