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

Node width too large for custom widgets #402

Open
FlorianRaichle opened this issue Jan 26, 2024 · 0 comments
Open

Node width too large for custom widgets #402

FlorianRaichle opened this issue Jan 26, 2024 · 0 comments
Labels

Comments

@FlorianRaichle
Copy link

Thank you for this amazing project! I have noticed a sizing issue when embedding custom widgets:

Nodes with a custom widget become too wide based on their name.
Screenshot from 2024-01-26 09-38-11

The issue seems to be that the custom widget width is just added to the total width. Instead it should probably go into the calculation together with the port text width.

width += widget_width

This is based on this example using 0.6.35.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants