Vijay
08/02/2020, 1:19 AMalbrechtroehm
08/04/2020, 9:32 AMfxlauncher:generateNativeInstaller
and Wix-Toolset which worked great at that time.
Now I'm getting this error:
Bundler MSI Installer skipped because of a configuration problem: Version string is not compatible with MSI rules [unspecified].
Advice to fix: Set the bundler argument "win.msi.productVersion" according to these rules: <http://msdn.microsoft.com/en-us/library/aa370859%28v=VS.85%29.aspx>
But i can't find a way to provide the version param. I tried fxlauncher{javapackarOptions = listOf("...")}
but could get it right.
Maybe someone got a similiar problem and could share some knowlegde? Thanks in advancejavidev
08/05/2020, 4:31 AMspierce7
08/19/2020, 2:26 AMianbrandt
08/19/2020, 6:23 PMRoman Konstantynovskyi
08/22/2020, 10:27 PMmelatonina
08/25/2020, 8:49 PMOlav Hermansen
08/27/2020, 2:36 PMMarshall
08/27/2020, 5:06 PMmelatonina
08/27/2020, 5:38 PMmelatonina
08/27/2020, 6:14 PMfrank
08/28/2020, 2:20 PMval
my Javafx controls but I don't get desired result in Type-Safe Builders of Tornadofx.
¿How can return type-safe builder instead javaFx control?
My Code: I can't define my label as type-safe builder instead Label
class Portal : View("") {
val lblImgWarn by lazy { label("File not found") {} }
gridpane {
row {
add(lblImgWarn)
lblImgWarn.graphic = imageview(image) {
fitHeight = 32.0
isPreserveRatio = true
}
}
}
}
Expected Code:
class Portal : View("") {
val lblImgWarn by lazy { label("File not found") {} } // I don't know how to return a type-safe builder instead Label
gridpane {
row {
lblImgWarn{
graphic = imageview(image) {
fitHeight = 32.0
isPreserveRatio = true
}
}
}
}
}
Marcin Wisniowski
08/29/2020, 9:06 PMmelatonina
08/30/2020, 6:36 PMselectionViewModel.indices.bind(selectionModel.selectedIndices) {
MyKindOfIndex(it)
}
This is causing all sorts of problems. If I select few items in sequence in the listview, then I select an item before them, I get an exception. If I update the observable list that is used as items list of the listview, the selection is messed up.
Is what I'm doing inherently wrong? Is there a better way?Hullaballoonatic
08/31/2020, 12:16 AMSlackbot
08/31/2020, 1:52 PMmelatonina
09/02/2020, 9:06 AMmelatonina
09/02/2020, 1:37 PMmsafarulla
09/03/2020, 6:01 AMHullaballoonatic
09/04/2020, 11:38 PMopenIntenalWindow
to work, but it keeps throwing an exception:
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method tornadofx.UIComponent.openInternalWindow, parameter owner
I've tried the simplest form of code I could think of and it still doesn't work:
class Start : App(MainView::class, HeaderStyle::class)
class MainView : View() {
override val root = borderpane {
openInternalWindow<FooView>()
}
}
class FooView : View() {
override val root = borderpane {
}
}
fun main() = launch<Start>()
The tornadofx documentation feels really lackluster around this method. The example passes in an type Editor
but I don't find anywhere it explains what that editor ismelatonina
09/05/2020, 10:08 AMmelatonina
09/05/2020, 7:43 PMgroostav
09/06/2020, 10:05 AMToggleGroup
has
private final ReadOnlyObjectWrapper<Toggle> selectedToggle = new ReadOnlyObjectWrapper<Toggle>() {
// Note: "set" is really what I want here. If the selectedToggle property
// is bound, then this whole chunk of code is bypassed, which is exactly
// what I want to do.
@Override public void set(final Toggle newSelectedToggle) {
"ReadOnly" with a setter because "its exactly what I wanted to do". crystal clear.Adel Tahri
09/08/2020, 9:30 PMAdel Tahri
09/09/2020, 10:34 AMmelatonina
09/09/2020, 3:17 PMfind
look up into the scope of the parent objects? Is there scope inheritance?melatonina
09/10/2020, 7:25 AMoverride fun start(stage: Stage) {
//stage.initStyle(StageStyle.UTILITY)
super.start(stage)
stage.sizeToScene()
}
If I uncomment the initStyle
line there, the windows does not show up at all.
If I set the style after the call to super.start()
, I get an exception because the stage is already showed at that moment.melatonina
09/11/2020, 9:27 AMlazt omen
09/11/2020, 9:45 AMAdel Tahri
09/14/2020, 10:54 AM