Skip to content

PushStyleVar(ImNodesStyleVar_LinkThickness, ...) doesn't work. #153

Open
@simonwinkelbach

Description

@simonwinkelbach

I want to increase the line thickness of individual links, while keeping the default thickness of all others.

PushStyleVar(ImNodesStyleVar_LinkThickness, 5);
Link(...);
PopStyleVar();

doesn't change the thickness, whereas

PushColorStyle(ImNodesCol_Link, IM_COL32(255, 255, 255, 255));
Link(...);
PopColorStyle();

changes the color as expected.

Great project BTW. Very clean and easy to use.
Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions