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

Add MaterialDesignToolBarToggleButton (name is just a suggestion) to make it look like MaterialDesignToolToggleListBox #3679

Open
bebenins opened this issue Sep 23, 2024 · 1 comment

Comments

@bebenins
Copy link
Contributor

This idea came from this ticket, which turned out to be a new .NET behavior:
#3677

Basically would like to see a toggle/checkbox styled for ToolBar. Meaning, it looks just like a single-item MaterialDesignToolToggleListBox looks today. When unselected, just make it look flat as the rest of the ToolBar.
image

Not sure what's better for base, a ToggleButton or a CheckBox. I'm also not super proficient in styling on such low level so I would appreciate if someone could help. Thank you.

@bebenins bebenins added enhancement evaluation required Items is pending review or evaluation by the team labels Sep 23, 2024
@corvinsz
Copy link
Contributor

This comment is only somewhat related to this issue/enhancement, but I still decided to put this here:

I noticed this toggle behavior should already exist, but with a ListBox.
To show off this behavior I created a PR #3680 which actually makes the ListBoxItem toggleable in the demo app:
MDIXDemoListBoxItemToggle

In the issue @bebenins linked above (#3677) I mentioned, that using a ListBox for this kind of behavior is in my opinion "the wrong tool for the job".
I'm open for more opinions on this.

@Keboo Keboo added up-for-grabs and removed evaluation required Items is pending review or evaluation by the team labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants