hm5161 Posted August 24, 2016 Share Posted August 24, 2016 I try to show a new window/form without borders. Did the following: function window.beforerender(sender,eOpt) { Ext.apply( sender, { border:false, bodyPadding: 0, padding: 0, margin:0, baseCls: '', frame: false, maximizable: false, resizable:false });} and: function window.afterrender )sender,eOpt) { Ext.get(sender.id).el.setStyle("padding",0); Ext.get(sender.id).el.setStyle("margin",0); } This still leaves a white border on the right and bottom, aprox. 10pix Anyone any idea how completely get rid of the borders?? Thnx Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 24, 2016 Share Posted August 24, 2016 Hi, Try: http://forums.unigui.com/index.php?/topic/3992-hideremove-the-form-border/&do=findComment&comment=19269 Best regards. Quote Link to comment Share on other sites More sharing options...
hm5161 Posted August 24, 2016 Author Share Posted August 24, 2016 Thnx, but: Unfortunaly no luck. White space/borders right and bottom still present. I have a single panel on a form with align = client. Borders on window indeed disapear but the panel is 10px smaller then the window. The 10px are on the right and bottom size. If a use a use a padding of 5px the panel is in the middle of the window again (logic of course) So it seems that the panel is always calculated 10px smaller then the window. regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 24, 2016 Share Posted August 24, 2016 Can you make a small test case for this?! 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.