[英]Tornadofx tableview using comboBox & adding FXEvent on buttons
[英]Show combobox's items as a custom node in tornadofx
您在使用cache
未提供高速緩存鍵,因此該單元的圖形節點是根據其看到的第一個值計算的。 只需提供唯一的ID,在這種情況下,將字符串值作為緩存鍵即可:
graphic = cache(it) {
label(it)
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.