-
Notifications
You must be signed in to change notification settings - Fork 710
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
Proposal: Allow on/off label placement on either side of ToggleSwitch #3696
Comments
Seems like a very sensible thing to add. It would be useful for aligning ToggleSwitches to the right without any awkward space after the different content strings. |
Would also like ability to position the Header to the left of the ToggleSwitch. |
i would also like to have the capability to set the content text as header too... |
Isn't there any new progress in this improvement? |
Proposal: Add alternate label placement to ToggleSwitch
Summary
Apps are interested in a left-positioned on/off label on the ToggleSwitch instead of it appearing on the right. We're thinking of adding additional API to support the choice between a left or right positioned on/off label. However, we would like to hear from the community on whether this would be taken advantage of in your apps or if the proposed approach can be improved upon.
Current ToggleSwitch on/off label position
Additional ToggleSwitch on/off label position
Rationale
Scope
Implementation exploration
An on/off content positioning boolean
An on/off position property with new enum
enum ToggleSwitchOnOffContentPosition { Right, // default Left, }
Open Questions
The text was updated successfully, but these errors were encountered: