Skip to content

Node width too large for custom widgets #402

Open
@FlorianRaichle

Description

@FlorianRaichle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions