Swissmade Well-Known Member Licensed User Longtime User Feb 12, 2015 #1 Hi all, Building Forms with Scene Builder 2 creates very nice forms. Now there is a problem. In Windows 7-8 and Classic theme you get the form's you have designed. If you use an other theme like Windows 7 Basic the form's are getting mis-formed. Font-size are not the same with as result all node's are bigger then you have designed. Layouts are changing. Have anybody any idea how to solve this. Thanks for help.
Hi all, Building Forms with Scene Builder 2 creates very nice forms. Now there is a problem. In Windows 7-8 and Classic theme you get the form's you have designed. If you use an other theme like Windows 7 Basic the form's are getting mis-formed. Font-size are not the same with as result all node's are bigger then you have designed. Layouts are changing. Have anybody any idea how to solve this. Thanks for help.
Erel B4X founder Staff member Licensed User Longtime User Feb 12, 2015 #2 Are you sure that you are using Java 8 on all computers? Upvote 0
Swissmade Well-Known Member Licensed User Longtime User Feb 12, 2015 #3 Erel said: Are you sure that you are using Java 8 on all computers? Click to expand... Everywhere I use Java 8 latest version 8.31 On Windows 7 and 8 I have seen this issue. Change on windows 7 the theme to Windows Classic has solved this. But some customers go to change this with as result of bad forms. With all forms I add a Stylesheet what is helping a little. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "modena.css")) Last edited: Feb 13, 2015 Upvote 0
Erel said: Are you sure that you are using Java 8 on all computers? Click to expand... Everywhere I use Java 8 latest version 8.31 On Windows 7 and 8 I have seen this issue. Change on windows 7 the theme to Windows Classic has solved this. But some customers go to change this with as result of bad forms. With all forms I add a Stylesheet what is helping a little. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "modena.css"))
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2015 #5 I don't think that there is anything you can do about it. Upvote 0
I inakigarm Well-Known Member Licensed User Longtime User Feb 19, 2015 #7 Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): http://nadeausoftware.com/articles/2009/02/windows_java_tip_how_control_window_decorations http://news.kynosarges.org/2013/08/09/javafx-dpi-scaling/ Upvote 0
Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): http://nadeausoftware.com/articles/2009/02/windows_java_tip_how_control_window_decorations http://news.kynosarges.org/2013/08/09/javafx-dpi-scaling/
Swissmade Well-Known Member Licensed User Longtime User Feb 19, 2015 #8 inakigarm said: Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): Click to expand... Will Try, many thanks for this Upvote 0
inakigarm said: Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): Click to expand... Will Try, many thanks for this
Peter Simpson Expert Licensed User Longtime User Feb 19, 2015 #9 inakigarm said: Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): http://nadeausoftware.com/articles/2009/02/windows_java_tip_how_control_window_decorations http://news.kynosarges.org/2013/08/09/javafx-dpi-scaling/ Click to expand... Great finds @inakigarm, I'l have to try to remember these (shortcut them in my browser), I'm sure that the links will come in handy one day ... Upvote 0
inakigarm said: Find a couple of interesting links about this (don't know how much difficult can be have some tweaking about with B4J): http://nadeausoftware.com/articles/2009/02/windows_java_tip_how_control_window_decorations http://news.kynosarges.org/2013/08/09/javafx-dpi-scaling/ Click to expand... Great finds @inakigarm, I'l have to try to remember these (shortcut them in my browser), I'm sure that the links will come in handy one day ...
Swissmade Well-Known Member Licensed User Longtime User Feb 19, 2015 #10 Peter Simpson said: I'm sure that the links will come in handy one day . Click to expand... Thanks for this. Upvote 0
Peter Simpson said: I'm sure that the links will come in handy one day . Click to expand... Thanks for this.
Swissmade Well-Known Member Licensed User Longtime User Feb 22, 2015 #11 (SOLVED) To get this right you can do the follow. In Scene builder fix all your Controls with Anchor Pane Constraints. Left, Right, Top and Bottom. Or use USE_PREF_SIZE Load the Css stylesheet modena.css. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "modena.css")) Most of the problems solved then. Last edited: Feb 22, 2015 Upvote 0
(SOLVED) To get this right you can do the follow. In Scene builder fix all your Controls with Anchor Pane Constraints. Left, Right, Top and Bottom. Or use USE_PREF_SIZE Load the Css stylesheet modena.css. Code: Copy MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "modena.css")) Most of the problems solved then.