Jump to content

Hi,How to remove loginForm's border?


it1728166827

Recommended Posts

25 minutes ago, it1728166827 said:

How to remove loginForm's border?

Hi,

Which build of UniGUI are you using?

Try this approach:

UniLoginForm -> ClientEvents -> ExtEvents -> 

function window.afterrender(sender, eOpts)
{
    var me=sender.getEl();
    if (me) {
        me.setStyle("padding", 0);
        //me.setStyle("border-width", 1);
        me.setStyle("border-width", 0);
        me.setStyle("-webkit-border-radius", 0);
        me.setStyle("-moz-border-radius", 0);
        me.setStyle("border-radius", 0);
    }
}

 

  • Like 2
Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...