permalmberg
01/28/2017, 8:48 PMValidators
into a ValidationContext
could use an example. I can't figure out how to do that. Also, I belive the the text Normally you would validate user input from multiple controls or input fields at once.
should read Normally you would validate user input from multiple controls or input fields one at a time.
edvin
01/29/2017, 7:15 AMpermalmberg
01/29/2017, 12:42 PMHAPed▾
squeezebox
. It is freaking awesome. So easy to use and fits perfectly! Only downside is it isn't mentioned in the docs 🙂permalmberg
01/29/2017, 1:19 PMcarlw
01/29/2017, 1:55 PMpermalmberg
01/29/2017, 1:57 PMhastebrot
01/29/2017, 2:27 PMselectedCity.onChange()
(see: TornadoFX Guide, chapter 4, "ComboBox" section) not calling the callback on value changes. http://tomasmikula.github.io/blog/2015/02/10/the-trouble-with-weak-listeners.htmlhastebrot
01/29/2017, 2:30 PMView
class. 😄hastebrot
01/29/2017, 2:42 PMView
in my App
I use setPrefSize()
to change the Stage
size. good for my use-cases, but obviously it is prefered to change the size in the App
.
class MyApp : App(MyView::class) {
// override fun createPrimaryScene(view: UIComponent) =
// Scene(view.root, 800.0, 600.0)
}
class MyView : View() {
override val root = stackpane {
setPrefSize(200.0, 200.0)
label("foo")
}
}
edvin
01/29/2017, 2:56 PMhastebrot
01/29/2017, 4:31 PMpermalmberg
01/29/2017, 4:31 PMhastebrot
01/29/2017, 4:32 PMpermalmberg
01/29/2017, 4:32 PMedvin
01/29/2017, 4:32 PMhastebrot
01/29/2017, 4:33 PMedvin
01/29/2017, 4:34 PMedvin
01/29/2017, 4:35 PMhastebrot
01/29/2017, 4:37 PMMyView
to e.g. LayoutStackPaneExampleView
(or maybe something shorter). Does this make sense? maybe the package where the examples are is enough.hastebrot
01/29/2017, 4:39 PM<!-- example a.b.c -->
into the markdown and use something to replace it with the example source code. I guess there is no need for a markdown parser to mixin the code. disadvange of this would be, that we can't edit the example code directly in the markdown document.edvin
01/29/2017, 4:41 PMhastebrot
01/29/2017, 4:48 PMViewModel
, Scopes
and Workspaces
are concepts I need to get familiar with. then I'll jump into writing code.edvin
01/29/2017, 4:49 PMcarlw
01/29/2017, 5:29 PMedvin
01/29/2017, 6:27 PMcarlw
01/29/2017, 6:52 PMedvin
01/29/2017, 9:09 PMron
01/29/2017, 11:12 PMhastebrot
01/30/2017, 3:11 PMfindFiles()
function into a controller, and the baseDirectory
and loadedFiles
into a model. I guess, this should be right. Next up is testing the controller, model, and probably the scope...hastebrot
01/30/2017, 3:13 PM