0

有没有办法使TreeTableView中的显示/隐藏列按钮更大?

4

1 回答 1

1

尝试以下 CSS:

.tree-table-view > .column-header-background > .show-hide-columns-button {
    -fx-font-size: 24pt ;
}


.tree-table-view > .column-header-background > .show-hide-columns-button .context-menu {
    -fx-font-size: null;
}

.tree-table-view .column-header, 
.tree-table-view .filler, 
.tree-table-view > .column-header-background > .show-hide-columns-button, 
.tree-table-view:constrained-resize .filler {

    -fx-size: 3em ;

}
于 2017-05-24T13:33:16.813 回答