Skip to content

Fixed Size Node (vertical) #295

Open
@soufianekhiat

Description

@soufianekhiat

Hello,
How can we achieve a fixed size node independently of the inputs/outputs pins?
With basic centered text and proper grid_snapping.
image

Current workaround, at the level of the content_frame, do not fix the "vertical centered text" and proper snapping:

if ( uInCount > 0 )
	fNodeHeight -= padding_y;
if ( uOutCount > 0 )
	fNodeHeight -= padding_y;
ImGui::BeginHorizontal( "content_frame", ImVec2( fNodeWidth, fNodeHeight ) );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions