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

Custom group box #72

Closed
vmgm87 opened this issue Apr 10, 2019 · 4 comments
Closed

Custom group box #72

vmgm87 opened this issue Apr 10, 2019 · 4 comments

Comments

@vmgm87
Copy link

vmgm87 commented Apr 10, 2019

Hello Team,
How can I customize the size, position and properties of expanded and collapse group box?

Thanks!
Regards,
VG

@plamen-peshev
Copy link
Contributor

If your group template is the default one, change

OrgChart.templates.group_grey.size = [250, 120];

Other properties that you can change are:

OrgChart.templates.group_grey.size = [250, 120];
OrgChart.templates.group_grey.groupPadding = [50, 10, 10, 10];
OrgChart.templates.group_grey.groupNodesSeparation = 10;

@vmgm87
Copy link
Author

vmgm87 commented Apr 10, 2019

Thank you @plamen-peshev !
Do you know how can I change the color text in the group box and edge color?
VG

@plamen-peshev
Copy link
Contributor

plamen-peshev commented Apr 10, 2019

Here is information how to customize the template

Also you can customize it with css only

@vmgm87
Copy link
Author

vmgm87 commented Apr 12, 2019

Thank you @plamen-peshev :D

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

3 participants