Re: [External] : Re: RFC: new property in ToggleGroup

2023-01-23 Thread John Hendrikx
ailability of easy workaround I withdraw this RFC. Cheers, -andy *From: *Nir Lisker *Date: *Saturday, 2023/01/21 at 08:22 *To: *Kevin Rushforth *Cc: *Andy Goryachev , openjfx-dev@openjdk.org *Subject: *[External] : Re: RFC: new property in ToggleGroup I don't see it being espe

Re: [External] : Re: RFC: new property in ToggleGroup

2023-01-23 Thread Andy Goryachev
at 08:22 To: Kevin Rushforth Cc: Andy Goryachev , openjfx-dev@openjdk.org Subject: [External] : Re: RFC: new property in ToggleGroup I don't see it being especially useful. GUI's tend to work this way. I remember it was the same in Swing. On Sat, Jan 21, 2023 at 1:41 AM Kevin

Re: RFC: new property in ToggleGroup

2023-01-21 Thread Michael Strauß
Sure, checkboxes allow multiple selection in general, but as I've said, I've come across lots of examples where applications use radio-like checkboxes to do precisely what Andy proposed: create a group of toggles where either one toggle or no toggle can be selected at any given time. I'm not saying

Re: RFC: new property in ToggleGroup

2023-01-21 Thread Nir Lisker
We already have ToggleButton: Unlike RadioButtons, ToggleButtons in a ToggleGroup do not attempt to force > at least one selected ToggleButton in the group. That is, if a ToggleButton is selected, clicking on it will cause it to > become unselected. With RadioButton, clicking on the selected but

Re: RFC: new property in ToggleGroup

2023-01-21 Thread Michael Strauß
My expectation with radio groups is that they may start out initially unselected, but once a selection has been made, no user interaction can unselect all toggles again. I don't see any compelling reason to change that. If the group needs to be reset to its initial state, that's as easy as calling

Re: RFC: new property in ToggleGroup

2023-01-21 Thread Nir Lisker
uld just as easily set the default itself as opposed to setting this > new property. > > -- Kevin > > [1] > https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_radio > > > > -andy > > > > > > > > > > *From: *openjfx-dev >

Re: RFC: new property in ToggleGroup

2023-01-21 Thread Pedro Duque Vieira
My 2 cents, I agree with Kevin, I don't see this as a common feature in User Interfaces. UX wise, like Kevin says, you usually start off with no radio button selected and then after one is selected the user can't usually deselect the radio buttons, he can only select another option in the group.

Re: RFC: new property in ToggleGroup

2023-01-20 Thread Kevin Rushforth
fault itself as opposed to setting this new  property. -- Kevin [1] https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_radio -andy *From: *openjfx-dev on behalf of Kevin Rushforth *Date: *Friday, 2023/01/20 at 12:27 *To: *openjfx-dev@openjdk.org *Subject: *Re: RFC:

Re: RFC: new property in ToggleGroup

2023-01-20 Thread Andy Goryachev
inconsistent state (or the app developer must write some code to select one). -andy From: openjfx-dev on behalf of Kevin Rushforth Date: Friday, 2023/01/20 at 12:27 To: openjfx-dev@openjdk.org Subject: Re: RFC: new property in ToggleGroup How common a UI feature is being able to deselect the

Re: RFC: new property in ToggleGroup

2023-01-20 Thread Kevin Rushforth
How common a UI feature is being able to deselect the selected item in a ToggleGroup via the UI such that no item is selected? I don't normally see that in various apps or toolkits that I am familiar with. What I do see is that either a default item is selected or no item is selected initially