I'm looking for an intuitive, user-friendly way to enable users to select (and switch between) two possible values.
Normally, in a form, this would be done with radio-buttons, but I will have table with this choice in every row. Using radio buttons would make the table look very cramped.
A drop-down is also a possibility, but it means that changing selecting requires two clicks instead of one.
I thought about two toggle-buttons acting as radio-buttons (only one can be toggled at the same time), but I was wondering if anyone has any better ideas?
Note that the two values are not boolean. It;s not on/off, yes/no or true/false. Think of the choices as blue/red, and no, there will not be more options in the future.
edit: My problem with radio buttons is that I do not want a table with rows like this:
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
O Green O Orange | Some data | A lot more data on the rest of the line
Rather, I'd have something more visual showing whether Green or Orange was selected (and it should be editable).
An option with two toggle buttons would be
[G|o] | Some data | A lot more data on the rest of the line
[g|O] | Some data | A lot more data on the rest of the line
[G|o] | Some data | A lot more data on the rest of the line
[g|O] | Some data | A lot more data on the rest of the line
[G|o] | Some data | A lot more data on the rest of the line
[g|O] | Some data | A lot more data on the rest of the line
