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

[Feature]: Chip Spacer #1096

Closed
2 tasks done
Majumafoo opened this issue Apr 5, 2023 · 1 comment · Fixed by #1098
Closed
2 tasks done

[Feature]: Chip Spacer #1096

Majumafoo opened this issue Apr 5, 2023 · 1 comment · Fixed by #1098
Labels
enhancement New feature or request

Comments

@Majumafoo
Copy link

Majumafoo commented Apr 5, 2023

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

I'd like to be able to adjust the position of chips beyond the Start, Center, End and Justify options that currently exist
image

Describe the solution you'd like

I'd like a spacer chip which automatically adjusts to fill any white space and push other chips to the side.
Artists interpretation:
image

This is a feature I've seen in a handful of applications. The menu in VLC comes to mind.

Describe alternatives you've considered

I've created a blank chip and used null space characters to expand it to the size I want, but it doesn't play well when screen sizes change.
Either it gets too large and pushes chips to the next line, or is too small and doesn't do a good job spacing the chips.

Blank chip example:
image
image

Additional context

No response

@Majumafoo Majumafoo added the enhancement New feature or request label Apr 5, 2023
@bryan-stewart bryan-stewart mentioned this issue Apr 5, 2023
8 tasks
@GitHubGoody
Copy link

@bryan-stewart Thank you for adding this. This is working great for horizontal spacing when there is at least one other chip present. Any chance you could make it work as a chip placeholder for a chip card that has no other chips?

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

Successfully merging a pull request may close this issue.

2 participants