Jump to content

Некорректно работает border-radius для unimPanel


x11

Recommended Posts

Как видно по снимку, обрезаются нижние углы.

На втором снимке - свойства панели.

CustomCSS:

.pnlRoundBorder2 {
    border-radius: 10px;
}

Подскажите, что я делаю не так.

Спасибо.

Screenshot_88.jpg

Screenshot_89.jpg

Link to comment
Share on other sites

11 minutes ago, Sherzod said:

Используйте bodyCls

Не совсем правильно получается, теперь другие углы загруглились

 

function beforeInit(sender, config)
{
  config.bodyCls='pnlRoundBorder2';
}

 

Screenshot_3.jpg

Link to comment
Share on other sites

4 minutes ago, x11 said:

теперь другие углы загруглились

Ну и правильно, когда Вы используете:

border-radius: 10px;

Тогда попробуйте использовать:

.pnlRoundBorder2 {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;    
}

 

Link to comment
Share on other sites

Наконец-то получилось.
 

.pnlRoundBorder2 {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.pnlRoundBorder3 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

 

Screenshot_8.jpg

  • Upvote 1
Link to comment
Share on other sites

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...