rayhildebrant Posted December 6, 2021 Share Posted December 6, 2021 Hi, When I reduce the browser window size, the horizontal bar is shown, but the vertical bar isn't. What I need to do to vertical bar appear ? tks. uniGUI 1.90.0 build 1511 / RAD Studio 10.3 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2021 Share Posted December 6, 2021 10 minutes ago, rayhildebrant said: What I need to do to vertical bar appear ? Hello, Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 6, 2021 Author Share Posted December 6, 2021 1 hour ago, Sherzod said: Hello, it works perfectly! tks! Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 6, 2021 Author Share Posted December 6, 2021 Sherzod, I applied the script on another project, but it didn't work. both scrolls didn't appear. there is any configuration that I must to review ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2021 Share Posted December 6, 2021 27 minutes ago, rayhildebrant said: I applied the script on another project If you don't use the script, does at least horizontal scrolling appear? Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 6, 2021 Author Share Posted December 6, 2021 7 minutes ago, Sherzod said: If you don't use the script, does at least horizontal scrolling appear? no, none of them appear. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2021 Share Posted December 6, 2021 UniServerModule.MainFormDisplayMode = mfWindow or mfPage? Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 6, 2021 Author Share Posted December 6, 2021 1 hour ago, Sherzod said: UniServerModule.MainFormDisplayMode = mfWindow or mfPage? mfWindow. I notice that in this project I use the formLogin, and in formLogin the scrolls are shown. then when I login the scrolls disappear. Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 6, 2021 Author Share Posted December 6, 2021 19 minutes ago, rayhildebrant said: mfWindow. I notice that in this project I use the formLogin, and in formLogin the scrolls are shown. then when I login the scrolls disappear. I tested in LoginForm test project and found the same issue. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2021 Share Posted December 7, 2021 Hi, I will try to analyze. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 8, 2021 Share Posted December 8, 2021 On 12/7/2021 at 1:05 AM, rayhildebrant said: I tested in LoginForm test project and found the same issue. Hello, Can you try this approach? MainForm.ClientEvents.ExtEvents -> function window.boxready(sender, width, height, eOpts) { document.getElementsByTagName('head')[0].childNodes.forEach(function(el){if (el.tagName=="STYLE" && el.innerHTML=="body {overflow-y: hidden !important;}") el.innerHTML=""}); Ext.getBody().setStyle('overflow', 'auto'); } Quote Link to comment Share on other sites More sharing options...
rayhildebrant Posted December 8, 2021 Author Share Posted December 8, 2021 14 hours ago, Sherzod said: Hello, Can you try this approach? MainForm.ClientEvents.ExtEvents -> function window.boxready(sender, width, height, eOpts) { document.getElementsByTagName('head')[0].childNodes.forEach(function(el){if (el.tagName=="STYLE" && el.innerHTML=="body {overflow-y: hidden !important;}") el.innerHTML=""}); Ext.getBody().setStyle('overflow', 'auto'); } it worked fine! Thank you soo much! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.