edvin
11/06/2016, 1:27 AMComboBox.cellFormat
called formatButtonCell
. It's a boolean property, and I think it makes sense to have it default to true. This is a behavioral change, so it should be documented @thomasnield but I'm pretty sure that's what you'd want in most cases. This change makes sure that if you set the cellFormat
for at ComboBox
, the cell that displays the selected value when the combo is not dropped will be formatted in the same way as the values in the ListView when it's dropped. Call combobox.cellFormat(formatButtonCell = false) { }
to override. The good old trick of calling combobox.buttonCell = combobox.cellFactory.call(null)
now also works, but is not needed, since that's what the formatButtonCell
parameter set to true will do. Thomas: Do you have time to add it to the guide where we describe ComboBox?