Disclosure toggle widget.#23817
Merged
alice-i-cecile merged 3 commits intobevyengine:mainfrom Apr 16, 2026
Merged
Conversation
alice-i-cecile
approved these changes
Apr 16, 2026
kfc35
approved these changes
Apr 16, 2026
| }); | ||
| } | ||
|
|
||
| fn set_toggle_colors( |
Contributor
There was a problem hiding this comment.
I’m assuming the unused variables are there to be used in the future (theme & slide token)? looked at the similar code for slide_token in toggle_switch and not sure if it’s totally applicable here given that there’s no ThemeBackgroundColor
Contributor
Author
There was a problem hiding this comment.
Ack! OK, so this was a very old branch that I resurrected, and I guess I overlooked this. Let me fix it.
kfc35
approved these changes
Apr 16, 2026
Contributor
kfc35
left a comment
There was a problem hiding this comment.
re-approving again to let you know I approve your updates. Tested an InteractionDisabled disclosure toggle to make sure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Part of #19236
The "disclosure toggle" is a small checkbox-like widget which displays a chevron that toggles between pointing right and pointing down.
Testing
Manual testing