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 proposal: ToggleSwitch label on the left #464

Closed
morning4coffe-dev opened this issue Aug 11, 2022 · 0 comments · Fixed by #480
Closed

Feature proposal: ToggleSwitch label on the left #464

morning4coffe-dev opened this issue Aug 11, 2022 · 0 comments · Fixed by #480
Labels
enhancement New feature or request

Comments

@morning4coffe-dev
Copy link
Contributor

Describe the solution you'd like
Add a variable to be able to switch the placing of the label to the other of the ToggleSwitch. This design is used in Windows 11 in many places like the Settings app, Clock app, etc.

A Picture from the Settings app in Win11
image

@bdlukaa bdlukaa added the enhancement New feature or request label Aug 11, 2022
@bdlukaa bdlukaa mentioned this issue Aug 20, 2022
3 tasks
bdlukaa added a commit that referenced this issue Aug 20, 2022
- `ToggleSwitch` updates:
  - Use the correct color for `DefaultToggleSwitchThumb` ([#463](#463)) 
  - Added `ToggleSwitch.leadingContent`, which positions the content before the switch ([#464](#464))
  - Added `ToggleSwitch.thumbBuilder`, which builds the thumb based on the current state
- Added `TextChangedReason.cleared`, which is called when the text is cleared by the user in an `AutoSuggestBox` ([#461](#461))
- `Tooltip` overlay is now ignored when hovered ([#443](#443))
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