ComboBox drop down width
bjbcatsMay 29 2013 — edited May 31 2013No matter what width I set for a combobox, the FIRST time I click to show the drop down list, the width of the dropdown is about 100px (irrespective of the width of the combobox itself). If you click off the drop down and re-open, it is sized correctly to the with of the widest string.
I've tried setting all manner of options in SceneBuilder, and also tried setting the prefWidth in a CellFactory, but makes no difference. I get the same behaviour on Windows or Linux.
I'm using this version of Java:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)