You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling to connect the JavaFX API with cljfx's description. From my understanding of the readme, a property x in JavaFX API would map to the description as an :x key in the component description map, but this doesn't seem to be the case. For instance, if I translate a basic demo from JavaFX's documentation (https://docs.oracle.com/javase/8/javafx/scene-graph-tutorial/scenegraph.htm#JFXSG107):
Huh, scene has width/height that are settable only in constructor, TIL. You can use width/height props on stage. Also check out https://github.com/cljfx/dev
I am struggling to connect the JavaFX API with cljfx's description. From my understanding of the readme, a property
x
in JavaFX API would map to the description as an:x
key in the component description map, but this doesn't seem to be the case. For instance, if I translate a basic demo from JavaFX's documentation (https://docs.oracle.com/javase/8/javafx/scene-graph-tutorial/scenegraph.htm#JFXSG107):To what I thought is valid cljfx code:
It will not work, because there's no
:width
or:height
properties. I tried to go through the code, but I can't find the definitions.Is this a special case for
Stage
? Or is it some other problem?The text was updated successfully, but these errors were encountered: