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? 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, 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 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 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now