carlw
12/27/2016, 2:12 PMedvin
12/27/2016, 2:13 PMthomasnield
12/27/2016, 2:14 PMedvin
12/27/2016, 2:14 PMthomasnield
12/27/2016, 2:14 PMedvin
12/27/2016, 2:14 PMthomasnield
12/27/2016, 2:15 PMedvin
12/27/2016, 2:16 PMpermalmberg
12/27/2016, 2:23 PMDataGrid
I can call setPrefSize(100.0, 0.0)
to force it to a certain width in order to force it to only show a single column but that feels like a ugly hack. Is there an out-of-the-box way to accomplish the same thing?edvin
12/27/2016, 2:26 PMpermalmberg
12/27/2016, 2:26 PMpermalmberg
12/27/2016, 3:34 PMgtnarg
12/27/2016, 3:51 PMpermalmberg
12/27/2016, 3:55 PMError writing cache body [0]: unexpected EOF
Any other link works. No need for the pdf, but thanksgtnarg
12/27/2016, 3:59 PMpermalmberg
12/27/2016, 3:59 PMgtnarg
12/27/2016, 4:03 PMpermalmberg
12/27/2016, 4:04 PMcarlw
12/27/2016, 4:06 PMpermalmberg
12/27/2016, 4:07 PMpermalmberg
12/27/2016, 4:40 PMoverride val root = listview<String>() {
cellCache {
titledpane(it, stackpane {
})
}
}
init {
with(root)
{
items = listOf("A", "B", "C", "D").observable()
}
}
Anyone see something wrong with that code? It ends up in an UnsupportedOperationException
in at java.util.Collections$UnmodifiableList.add(Collections.java:1314)
It is seemingly calling add() on an umodifiable list...carlw
12/27/2016, 4:43 PMthomasnield
12/27/2016, 5:06 PMprevSelection
property doesn't exist. I'll see if I can fix this.thomasnield
12/27/2016, 5:08 PMpermalmberg
12/27/2016, 5:10 PMcarlw
12/27/2016, 5:10 PMpermalmberg
12/27/2016, 5:22 PMoverride val root = listview(listOf("A", "B", "C", "D").observable()) {
cellCache {
titledpane(it, text(it))
}
}
carlw
12/27/2016, 5:22 PMcarlw
12/27/2016, 5:23 PM