Other ControlsFX library (work in progress)

Status
Not open for further replies.

Erel

Administrator
Staff member
Licensed User
Last edited:

rwblinn

Well-Known Member
Licensed User
Hi Erel,

very good = thanks.

Q: If testing b4J version, got these error messages - what is missing?

B4X:
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files%20(x86)/Java/jdk8/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
 

positrom2

Active Member
Licensed User
Error: Cannot find: C:\Program Files (x86)\Anywhere Software\B4J\libraries\controlsfx-8.jar
Had copied the controlsfx.jar to the Additional Libraries.
 

positrom2

Active Member
Licensed User
Thanks,
Little bit confusing: jcontrolsfx-8.jar, controlsfx-8.jar, and without the -8?
Finally got it running with naming it as jcontrolsfx.jar.
How are the numerous red boxes generated (Title-red.png is just one small red box).
 

rwblinn

Well-Known Member
Licensed User
Does it crash after this message? If not then you can ignore it.
No crash BUT a bunch of messages like these appear when calling:
B4X:
CreateStatusBar
CreateHyperLinkLabel
CreateSegmentedButtons
 

rwblinn

Well-Known Member
Licensed User
Hi,

Little bit confusing: jcontrolsfx-8.jar, controlsfx-8.jar, and without the -8?
Finally got it running with naming it as jcontrolsfx.jar.
As explained in step #2, rename Rename controlsfx-8.20.8.jar (after copied to your B4J additional library folder) to controlsfx-8.jar.

How are the numerous red boxes generated (Title-red.png is just one small red box).
By setting flag Tile to True. If False then the tile-red-png is shown as one image in the paneTile:
B4X:
Dim cu As ControlsUtils
cu.SetBackgroundImage(paneTile, fx.LoadImage(File.DirAssets, "Tile-Red.png"), True)
 

positrom2

Active Member
Licensed User
By setting flag Tile to True.
Aha, "Small change - large result", or similar.
Unfortunately, there are hundreds of those parameters in this kind of language, hard to remind for the occasional user....
Greetings to Pinneberg.
Thank you, positrom2
 
Status
Not open for further replies.
Top