Swissmade Well-Known Member Licensed User Longtime User May 28, 2014 #1 Hi all, Strange thinks happening when I run a Release App in the IDE and OutSide. Somehow I miss a Theme???? I like to have the Scene like in the IDE. See Images Have found something. Using Java 7.55 I get the theme of the Image Inside the IDE. Using Java 8.05 I get the Theme of the Image Oudside IDE. How can I change the Theme??? Hope anyone can help here. Attachments InSide-IDE .jpg 54 KB · Views: 508 OutSide-IDE.jpg 31.1 KB · Views: 480 Last edited: May 28, 2014
Hi all, Strange thinks happening when I run a Release App in the IDE and OutSide. Somehow I miss a Theme???? I like to have the Scene like in the IDE. See Images Have found something. Using Java 7.55 I get the theme of the Image Inside the IDE. Using Java 8.05 I get the Theme of the Image Oudside IDE. How can I change the Theme??? Hope anyone can help here.
Erel B4X founder Staff member Licensed User Longtime User May 28, 2014 #2 Does this error only happen with Java 8? Upvote 0
Swissmade Well-Known Member Licensed User Longtime User May 28, 2014 #3 Erel said: Does this error only happen with Java 8? Click to expand... Erel, I have Java 7 and 8 on my system. For the IDE I have select Java 7. After I select Java 8 I get the same issue. So this has to do with Java 8. Upvote 0
Erel said: Does this error only happen with Java 8? Click to expand... Erel, I have Java 7 and 8 on my system. For the IDE I have select Java 7. After I select Java 8 I get the same issue. So this has to do with Java 8.
Swissmade Well-Known Member Licensed User Longtime User May 28, 2014 #4 Found a way to solve this. Not really the way but its working. Copy the Style-sheet in the Zip to DirAssets. Use the following code after a form is created and Initialize. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "caspian.css")) I hope this helps somebody. There can be a Warning in the Log of the IDE. WARNING: Could not resolve 'a lookup value' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet file:/../../caspian.css I don't know how to solve this. Attachments caspian.zip caspian.zip 22.5 KB · Views: 385 Last edited: May 28, 2014 Upvote 0
Found a way to solve this. Not really the way but its working. Copy the Style-sheet in the Zip to DirAssets. Use the following code after a form is created and Initialize. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "caspian.css")) I hope this helps somebody. There can be a Warning in the Log of the IDE. WARNING: Could not resolve 'a lookup value' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet file:/../../caspian.css I don't know how to solve this.
Swissmade Well-Known Member Licensed User Longtime User Jun 10, 2014 #5 Solved the right way. Just select the right Java version I have deleted Version 8 and run 7.xx More functions can be used in version 7.xx Upvote 0
Solved the right way. Just select the right Java version I have deleted Version 8 and run 7.xx More functions can be used in version 7.xx