WildOne (Yuri)
05/09/2021, 8:28 AMJgafner
06/11/2021, 12:18 PMJgafner
06/12/2021, 10:51 AMAigleZ Dev
06/25/2021, 7:52 PMAigleZ Dev
06/30/2021, 6:16 PMelect
09/03/2021, 7:27 AMView
and I'm assigning root
to a Slider
. How may I create a loop among the slider entries?Сергей Владимирович
09/23/2021, 12:08 PMclass GFieldSetModel(val Name: String = "")
class MainView : View("Hello TornadoFX") {
val controller: GFieldSetController by inject()
override val root = vbox {
children.bind(controller.fields3) {
hbox {
children.bind(it) {
label(it.Name)
}
}
}
}
}
class GFieldSetController : Controller() {
val fields1 = FXCollections.observableArrayList( GFieldSetModel("1.1 "), GFieldSetModel("1.2"))
val fields2 = FXCollections.observableArrayList( GFieldSetModel("2.1 "), GFieldSetModel("2.2"))
val fields3 = FXCollections.observableArrayList(fields2,fields1 )
fields3.add(fields1) // it doesn't work
}
Sergen Peker
09/30/2021, 11:54 AMWildOne (Yuri)
10/03/2021, 10:05 AMMathias Cochet
10/07/2021, 8:57 AMKarlo Lozovina
10/10/2021, 9:31 PMText
node, is there a way to go from mouse click in the node to nearest character in the text?Сергей Владимирович
10/11/2021, 9:01 AMDon't tell me what I'm doing wrong
private val map = mapOf("1" to "one", "3" to "three", "9" to "nine")
private val observableMap: ObservableMap<String, String> = FXCollections.observableMap(map)
override val root = hbox {
textfield() {
bind(Bindings.valueAt(observableMap, "1"))
}
}
textfield - is not edited.
Martin Borzan
10/22/2021, 7:33 PMMartin Borzan
11/28/2021, 3:40 AMval fontStr = "fonts/FiraCode-Regular.ttf".apply {
val inputStream = MethodHandles.lookup().lookupClass().getResourceAsStream(this)
val clazzPackage = MethodHandles.lookup().lookupClass().packageName
println("FONT LOADING: $clazzPackage -> $inputStream -> ${loadFont("fonts/FiraCode-Regular.ttf", 14)}")
}
The output when I run the application is
FONT LOADING: me.blocky.logreader.style -> <http://java.io|java.io>.BufferedInputStream@6ebd22fa -> null
Clearly, the file is there since the inputStream is not null. But the loadFont method still returns null.
Does anybody know what's going on?Oleksii
01/13/2022, 5:15 PMgeepawhill
08/02/2022, 2:51 AMRyan Smith
08/09/2022, 12:25 AMgeepawhill
08/09/2022, 12:26 AMRyan Smith
08/09/2022, 12:27 AMmikehearn
08/10/2022, 1:52 PMmikehearn
08/10/2022, 1:53 PMmikehearn
08/10/2022, 1:53 PMmikehearn
08/10/2022, 1:54 PMJonathan Smith
08/14/2022, 12:33 PMSebastian Schuberth
01/05/2023, 7:25 AMKebbin
01/05/2023, 7:29 AMgeepawhill
01/05/2023, 8:58 PMRyan Smith
01/08/2023, 6:34 PMwakingrufus
01/12/2023, 11:07 PMwakingrufus
01/12/2023, 11:07 PM