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

Query Regarding Adjusting Node Height in org-chart Library #391

Open
hen3g opened this issue Apr 23, 2024 · 1 comment
Open

Query Regarding Adjusting Node Height in org-chart Library #391

hen3g opened this issue Apr 23, 2024 · 1 comment

Comments

@hen3g
Copy link

hen3g commented Apr 23, 2024

I'm exploring the possibility of not setting a fixed value for nodeHeight in the org-chart library and instead allowing the height of nodes to be determined by the HTML content provided within nodeContent. Has anyone experimented with this approach successfully or found any workarounds? I'd appreciate any insights or suggestions. Thank you!

@bumbeishvili
Copy link
Owner

You need to specify a fixed value eventually.

You might be able to precalculate heights based on the HTML and supply that value

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

No branches or pull requests

2 participants