Volk65 Posted December 7, 2017 Share Posted December 7, 2017 Hi. I need to remove the border from the form. I read the forum and found: function window.afterrender(sender, eOpts) { Ext.get(sender.id).el.setStyle("padding", 0); Ext.get(sender.id).el.setStyle("border-width", 1); Ext.get(sender.id).el.setStyle("-webkit-border-radius", 0); Ext.get(sender.id).el.setStyle("-moz-border-radius", 0); Ext.get(sender.id).el.setStyle("border-radius", 0); } It works, but the top of the form there is panel: Align:=alTop. And I have the effect - the panel is not realigned. See the attachment how to fix it? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2017 Share Posted December 7, 2017 Hi, Please specify, which build are you using? And make a simple testcase if possible. Best regards, Quote Link to comment Share on other sites More sharing options...
Volk65 Posted December 7, 2017 Author Share Posted December 7, 2017 No problem. 1.0.0.1421 test attached... Test1.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2017 Share Posted December 7, 2017 Thanks for the testcase, One possible solution: UniPanel1 -> ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.width='auto'; } 1 Quote Link to comment Share on other sites More sharing options...
Volk65 Posted December 7, 2017 Author Share Posted December 7, 2017 Super! What we need. 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.