Skip to content

Add TriStateSwitchButton with two active states and off#697

Merged
wimjongman merged 1 commit into
EclipseNebula:masterfrom
laeubi:tri_state_button
May 14, 2026
Merged

Add TriStateSwitchButton with two active states and off#697
wimjongman merged 1 commit into
EclipseNebula:masterfrom
laeubi:tri_state_button

Conversation

@laeubi

@laeubi laeubi commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

I recently have had the demand for a button that can have tri-state behavior. This is what I came up with based on the existing SwitchButton and the copilot agent:

grafik

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@laeubi laeubi requested review from lcaron and wimjongman April 28, 2026 08:13
@laeubi

laeubi commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

@wimjongman @lcaron any concerns? Seems one can't move forward anymore without at least one review.

@wimjongman wimjongman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apologies for the delay. Thanks for the patch.

@wimjongman wimjongman merged commit 4a5ce62 into EclipseNebula:master May 14, 2026
5 checks passed
@wimjongman wimjongman added this to the 3.4.0 milestone May 14, 2026
@wimjongman

Copy link
Copy Markdown
Contributor

I added documentation here: https://github.com/EclipseNebula/nebula/wiki/Nebula-Switch-Buttons

@lcaron

lcaron commented May 14, 2026

Copy link
Copy Markdown
Contributor

Great work, thank you Christoph for your contribution !

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.

3 participants