有没有办法让button中的显示/隐藏列TreeTableView更大?
答案 0 :(得分: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 ;
}