B4J Question [BANanoWebix] SetStyle ....

micro

Well-Known Member
Licensed User
Longtime User
Hi mash and to all
I'm running tests with your webix wrapper
but there are some parameters that are not applied
or am I wrong
The toolbar background color is not applied
the color of the icon does not change
......
B4X:
Dim tblBar As WixToolBar
    tblBar.Initialize("tblBar")
    BANano.GetElement("#tblBar").SetStyle($"{ "background": "6495ed" }"$) '<--- not change

B4X:
tblBar.CreateIcon("menuopen").SetIcon("mdi mdi-menu").SetStyle("color", "#ffffff") '<---- not change, while the background with ("background",  "#xxxxxx") work

Also font-size does not work on labels

Thanks
 

Mashiane

Expert
Licensed User
Longtime User
@micro Thanks for your question and your interest in BANanoWebix, appreciated.

In the meantime, update your code like

B4X:
tblBar.ToolBar.SetStyle("background", "6495ed")

I will later create a shortcut that will enable one to execute

B4X:
tblBar.SetStyle("background", "6495ed")

Ta!

PS: If this issue is resolved, please mark the question as solved, thanks.
 
Last edited:
Upvote 0
Top