JavaFx: ComboBox show selection cut-out text

Viewed 32

I have this combobox

enter image description here

which is populated dynamically on startup, from ohter data. I can't seem to find a way to show the cut-out text, when the dropdown list is not showing.

AUTO...

to

AUTOMATIC

here's the code

<ComboBox fx:id="comboboxMode"
          prefWidth="80"
          GridPane.columnIndex="1" GridPane.rowIndex="0">
</ComboBox>

the only way to have all text displayed is by increasing the width of the element, but I cannot do that due to other UI constraints. I've already decreased the text font size twice. Any other suggestions?

0 Answers
Related