【发布时间】:2021-10-16 11:35:56
【问题描述】:
我只需要更改表格视图仅 1 列的文本不透明度。
#column_2 {
-fx-opacity: 60%
}
.table-cell {
-fx-border-color: transparent transparent blue transparent;
-fx-opacity: 100%;
}
tableView 的列 id 中有 #column_2。 我试过这个,但这也改变了边框不透明度。
那么如何仅更改列文本的不透明度? (不改变边框不透明度)
look in image right column, when I do opacity 60%, this changes border opacity too.
【问题讨论】: