2013-03-20 68 views

回答

6

当然,这是有可能的CSS的一点点。 的CSS是这样的:

.tree-cell .tree-disclosure-node .arrow { 
    -fx-shape: null; 
    -fx-background-color: null; 
    -fx-background-image: url("plus-arrow.png"); 
} 
.tree-cell:expanded .tree-disclosure-node .arrow { 
    -fx-shape: null; 
    -fx-background-color: null; 
    -fx-background-image: url("minus-arrow.png"); 
} 

LG Kalasch

+0

我加的16×16像素大小的图标,但他们被裁剪。在10x10像素,他们显示很好。谢谢。 – 2013-05-04 18:15:54