I tried this on
border: 2px solid green;
border-radius: 5px;
}
{
border-top-left-radius:5px;
font: bold 8pt "MS Shell Dlg 2";
border-top-right-radius:5px;
border-top:2px solid green;
border-left:2px solid green;
border-right:2px solid green;
}
{
color: red;
}
QTabWidget::pane {
border: 2px solid green;
border-radius: 5px;
}
QTabBar::tab
{
border-top-left-radius:5px;
font: bold 8pt "MS Shell Dlg 2";
border-top-right-radius:5px;
border-top:2px solid green;
border-left:2px solid green;
border-right:2px solid green;
}
QTabBar::tab:selected
{
color: red;
}
To copy to clipboard, switch view to plain text mode
it is working properly only when is in designer tabWidget->font->bold checked or programaticaly tabWidget->font()->setBold(true) called
combination of border and font-weight make this error/bug
Bookmarks