B4J Question Using CSS in Scene Builder

mrossen

Active Member
Licensed User
Longtime User
Hi,

I have made a Layout file where I use a CSS file.

This works perfect in debug mode but fail in Release mode.

Where do I have to but my CSS file ?
 

jmon

Well-Known Member
Licensed User
Longtime User
Can you upload your project (File - Export as zip)?
Hi, here is the file. It's a very simple project, with only one button and a combo. I see that the css works in Designer but not in debug. I loaded the css in the Designer by going to Preview>Scane Style Sheets>Add a style sheet. I imagine that my error is that it's just a preview. So where to set-up the css for the whole form?
Thanks
 

Attachments

  • cssTest.zip
    2 KB · Views: 250
Upvote 0

stevel05

Expert
Licensed User
Longtime User
You would normally attach the style sheet in the Style Sheets Box on the Anchor Pane, but as you are using a combo box, there seems to be a problem with that. Have a look here Example in post #11.
 
Upvote 0
Top