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

Spacing between children of a stack layout #4218

Open
2 tasks done
GordianDziwis opened this issue Feb 24, 2024 · 2 comments
Open
2 tasks done

Spacing between children of a stack layout #4218

GordianDziwis opened this issue Feb 24, 2024 · 2 comments

Comments

@GordianDziwis
Copy link

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the problem
properties-blank

When using stacked layout in stacked layouts, it is difficult to differentiate between the children and the label of the child stack.

Describe the solution you'd like
Spacing between children of a stack layout.

Describe alternatives you've considered
I played around with the styles and there was an option to add a gap between the elements, but this broke the autoresize feature of the stack.

@alderg
Copy link
Contributor

alderg commented Mar 5, 2024

Try stackSpacing=10;stackBorder=10;. Here is an example.

Screenshot 2024-03-05 at 09 18 35

@GordianDziwis
Copy link
Author

GordianDziwis commented Apr 25, 2024

This is exactly what I need. How do you know this @alderg, I did not find this in the mxGraph documentation.

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