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

DefaultGroupExpanded doesn't allow separate padding setting for top, left, bottom, and right. #126

Closed
jeff-phillips-18 opened this issue Dec 14, 2023 · 2 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@jeff-phillips-18
Copy link
Member

Describe the problem
The DefaultGroupExpanded uses the largest padding set for the padding style on the element. The padding field allows for separate settings for each (like setting paddings in css) but it uses the max value if the value is not a simple number.

In order to prevent label overlap the bottom padding is needed to be greater but that creates unnecessary padding on the top, left and right.

How do you reproduce the problem?
Set the group element padding to [15, 15, 75, 15]

Expected behavior
The group's padding should be 75px only on the bottom, the rest should be 15.

Screenshots
image

@jeff-phillips-18 jeff-phillips-18 self-assigned this Dec 14, 2023
@jeff-phillips-18
Copy link
Member Author

/cc @leandroberetta

@jeff-phillips-18 jeff-phillips-18 added the wontfix This will not be worked on label Jan 9, 2024
@jeff-phillips-18
Copy link
Member Author

The padding is correct for rectangular groups but not when the group uses the hulled outline. Fixing the hulled outline seems to be a rather large task. I'm not sure it's worth the effort unless there is a project that really needs it. I'm going to back-burner this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
Archived in project
Development

No branches or pull requests

1 participant