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 custom switch widget #487

Merged
merged 5 commits into from Jul 29, 2021
Merged

Conversation

Sirmorrison
Copy link
Contributor

Fix #478
This PR implements custom switch widget.

Copy link
Contributor

@beansgum beansgum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can a disabled state be added to this widget where it'll ignore all user-triggered events?

ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
ui/decredmaterial/switch.go Show resolved Hide resolved
ui/decredmaterial/switch.go Show resolved Hide resolved
ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
@Sirmorrison Sirmorrison force-pushed the custom_switch branch 2 times, most recently from e38f5ce to e2a12c1 Compare July 21, 2021 12:58
ui/decredmaterial/switch.go Outdated Show resolved Hide resolved
@Sirmorrison Sirmorrison force-pushed the custom_switch branch 2 times, most recently from 0a048ac to deb8842 Compare July 28, 2021 12:02
@oshorefueled oshorefueled merged commit 7c660d7 into planetdecred:master Jul 29, 2021
song50119 pushed a commit to song50119/godcr that referenced this pull request Apr 24, 2022
- add disabled state

- use widget.Clickable instead of widget.Bool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

custom material switch widget
3 participants