java - ComboBox options receive margin upon making the stage resizable -


i've got combobox within javafx stage through fxml. works expected. however, once make stage unresizable through stage.setresizable(false);, options of combobox receive slight margin seen below:

enter image description here

the combobox has no custom styles , when using stage containing only combobox, resizable option causes effect. there way prevent happening , keeping options aligned combobox @ times?

try running code on java 8 (latest current release version) , seeing if issue fixed you.

see related question: javafx: why stage.setresizable(false) cause additional margins?

and bug report: rt-36413: initial stage size set incorrectly non-resizable stages.

i don't know of clean workaround case.

your bug has same route cause rt-36413, exhibits behaviour, suggest filing bug report @ https://javafx-jira.kenai.com (make sure mention existing rt-36413 bug in new bug report).


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -