Closed b-mag closed 8 years ago
If you populate a CheckComboBox with sample data in FXML as you would a ComboBox it treats it as a single item.
<CheckComboBox fx:id="checkComboBoxRepeatDays" prefHeight="25.0" prefWidth="158.0" > <items> <FXCollections fx:factory="observableArrayList"> <String fx:value="All" /> <String fx:value="Sunday" /> <String fx:value="Monday" /> <String fx:value="Tuesday" /> <String fx:value="Wednesday" /> <String fx:value="Thursday" /> <String fx:value="Friday" /> <String fx:value="Saturday" /> </FXCollections> </items> </CheckComboBox>
A quick switch to combo box object yields the expected result:
Aren't you mixing up projects? I do not know of a CheckCombobox in JFXtras. There is one in ControlsFX
http://controlsfx.bitbucket.org/org/controlsfx/control/CheckComboBox.html
If you populate a CheckComboBox with sample data in FXML as you would a ComboBox it treats it as a single item.
A quick switch to combo box object yields the expected result: