gpt4 book ai didi

JavaFX 8 : How to remove the last white pixel from the combobox list

转载 作者:太空宇宙 更新时间:2023-11-04 11:07:37 26 4
gpt4 key购买 nike

是否可以用CSS删除那条白线?

enter image description here

最佳答案

您可以尝试“list-cell:empty”中的某些内容。更改“list-cell:empty”的背景颜色会将此白线的颜色更改为默认的“focus-color”

.list-cell:empty {
-fx-padding: 0 ;
-fx-background-color: -fx-focus-color ;
-fx-background-insets: 0 ;

}

关于JavaFX 8 : How to remove the last white pixel from the combobox list,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46338187/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com