Jump to content
uniGUI Discussion Forums

Form. To remove the border.

Recommended Posts

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?


Share this post

Link to post
Share on other sites

Thanks for the testcase,


One possible solution:


UniPanel1 -> ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now