LastExceed
01/20/2020, 6:05 PMmariofelesdossantosjr
01/20/2020, 9:05 PMmatthjes
01/22/2020, 6:32 PMitemProperty.value = <item>
?matthjes
01/24/2020, 2:20 PMoverride val root = borderpane { ... }
, how can I set the focus to a specific widget inside this hierarchy? Currently I have a TreeView and a TextArea somewhere nested inside root
and when the application starts the TreeView always has the focus. However, I'd like to have the TextArea having the focus.LastExceed
01/25/2020, 8:54 AMIllegalStateException: Not on FX application thread
. How do I deal with this? also why does it only happen when the list isn't empty ?Yardenavirav
01/26/2020, 9:14 PMHullaballoonatic
01/27/2020, 12:39 AMjava.scene.paint.color
is really annoying to work with. it'd be nice if you could do things like:
val myColor = Color(0.5, 0.5, 0.5)
myColor.saturation += 0.5
myColor.opacity *= 0.3
etc, but nope!carlw
01/28/2020, 2:37 PMThomas Mao
02/02/2020, 11:05 PMCarlton Whitehead
02/11/2020, 3:22 PMScope
, to obtain a new instance of a Wizard
each time? I'm finding it a bit clunky and error-prone to build out the Wizard
such that it expects a Scope
with its dependencies graph prepared. Making the `Wizard`'s scope
know about all the wizard pages dependencies, those pages dependencies' dependencies, and so on is what makes it feel clunky to me. Is there a way find()
and inject()
could act as a factory instead of as a singleton lookup? I feel like that would really simplify this. Is that possible?Evan R.
02/13/2020, 8:30 PMSuspendingView
class which allows you to invoke a suspendingAction { }
block as a coroutine replacement for asyncAction { }
(i.e. the block gives you a CoroutineScope for invoking suspending functions). It also auto-cancels launched coroutines if the view is undocked.
Is this something anyone else would be interested in? If so, what’s the best way to contribute this back to the TornadoFX project?
Here’s the current implementation in my project: https://github.com/emanguy/GitlabTimeTracker/blob/master/src/main/kotlin/ui/util/SuspendingView.kt
And here’s somewhere I use it to call suspending functions: https://github.com/emanguy/GitlabTimeTracker/blob/master/src/main/kotlin/ui/view/LoginView.kt#L33mariofelesdossantosjr
02/14/2020, 5:27 PMMax
02/20/2020, 2:03 PMazeDevs
03/05/2020, 11:52 PMcarlw
03/07/2020, 12:57 AMmatthjes
03/10/2020, 8:23 PMPandaH.
03/17/2020, 11:01 AMgeepawhill
03/18/2020, 1:40 PMTuringTux
03/25/2020, 10:16 AMvGrow = Priority.NEVER
, but that didn't change anything.
class ProgressBarView : View() {
override val root = gridpane {
row {
progressbar {
gridpaneConstraints {
margin = Insets(10.0, 10.0, 5.0, 10.0)
useMaxWidth = true
}
}
}
constraintsForColumn(0).percentWidth = 100.0
}
}
I guess I could explicitly set the minimum height using minHeight = some_number
, but I'd like to avoid having to deal with absolute height values.
Is there any other way?
Thanks in advance 🙂Shadab
03/29/2020, 8:18 PMsbyrne
03/31/2020, 5:16 PMclass MyApp:App(MyView::class)
and later from another window (which has a different scope) I do find<MyView>().openWindow()?.requestFocus()
, how do I get it to focus the original view instead of creating a new window?mariofelesdossantosjr
04/04/2020, 2:36 PMSlackbot
04/13/2020, 1:36 PMDustyn
04/16/2020, 12:20 PMPedro González
04/16/2020, 2:48 PMDasserbasyouni
04/17/2020, 4:33 AMmariofelesdossantosjr
04/17/2020, 8:49 PMPedro González
04/18/2020, 1:04 PMPedro González
04/19/2020, 1:34 PMthanerian
04/19/2020, 3:05 PM