Kattes Posted August 10, 2020 Share Posted August 10, 2020 UniURLFrame is a very popular UniGui component when it comes to integrating HTML code directly into a project with as few side effects as possible. Unfortunately, this component is always displayed with a surrounded border in the browser. Is there a simple way to switch off these borders? Quote Link to comment Share on other sites More sharing options...
Norm Posted August 23, 2020 Share Posted August 23, 2020 Try the following setting in the forms ClientEvents -> ExtEvents : function window.afterrender(sender, eOpts) { Ext.get(sender.id).el.setStyle("padding", 0); Ext.get(sender.id).el.setStyle("border-width", 0); } 1 Quote Link to comment Share on other sites More sharing options...
Kattes Posted September 1, 2020 Author Share Posted September 1, 2020 Sorry for the late response, but my boss kept me overloaded with thousands of other things... @Norm - Yes, that goes in the right direction but does not solve the problem 100%, because it would create 2 big lines (one right and on the bottom) in the browser window. The solution is so simple that I am almost embarrassed to write this here. Simply setting MainFormDisplayMode = mfPage in the ServerModul.dfm let the borders go away, which is finally very logical Quote Link to comment Share on other sites More sharing options...
Norm Posted September 2, 2020 Share Posted September 2, 2020 Wow! Thanks for sharing that. It has solved a few other issues I had. 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.