Scene Builder preview is different than Actual output

375 Views Asked by At

I am getting Scene Builder Preview as following

enter image description here

but when I run my project It's displaying different as following

enter image description here

Application:- JavaFX using Jfoenix and GluonDesktop
Designing using:- Scene Builder
Development IDE:- intelliJ
OS:- MacOS Mojave 10.14.5

Is this expected behavior? Do I need to do some config to display the same in all platforms. As I am very new to JavaFX. Looking for help.

1

There are 1 best solutions below

0
GreenROBO On BEST ANSWER

It was just a Theme selected by Scene Builder which was displaying effects/components of current selected UI Theme (Mine was Gluon Mobile Light theme). As I said I was very new to this I didn't have much knowledge about it.

Thank you.