tornadofx icon indicating copy to clipboard operation
tornadofx copied to clipboard

Support shortcuts for toggle buttons

Open Kshitiz-Sharma opened this issue 3 years ago • 0 comments

This works:

button("ON") {
     shortcut("Ctrl+S")
     action {}
}

There's no reason this shouldn't:

toggleButton("ON") {
     shortcut("Ctrl+S")
     action {}
}

Please enable shortcuts on toggle button and consider this as a feature request.

Kshitiz-Sharma avatar May 14 '21 15:05 Kshitiz-Sharma