I've got a ComboBox
within a JavaFX Stage
through FXML. Normally this works as expected. However, once I make the stage unresizable through stage.setResizable(false);
, the options of the ComboBox
receive a slight margin as seen below:
The ComboBox
has no custom styles and even when using a Stage
containing only the ComboBox
, the resizable option causes this effect. Is there any way to prevent this from happening and keeping the options aligned with the ComboBox
at all times?