JavaFX combobox, getting white background after listview -


i m getting white background in combobox in javafx

screenshot of combobox m getting

i used this

combobox mode = new combobox(); mode.getitems().addall("cash", "cheque", "account transfer"); 

please tell me how resolve this..

as can read here, when combo shown popupcontrol extends `popupwindow' shown. has own scene , styling.

my guess have styling applied css rule .root.popup, this:

.root.popup {     -fx-background-color: white; } 

try remove sytling or change to:

.root.popup {     -fx-background-color: transparent; } 

and check if problem solved.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -