mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Add some fixes to stylesheet to avoid very odd looking OpenPype UIs in Substance Painter
This commit is contained in:
parent
b581804881
commit
3cb797b10a
1 changed files with 10 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ QPushButton {
|
|||
border-radius: 0.2em;
|
||||
padding: 3px 5px 3px 5px;
|
||||
background: {color:bg-buttons};
|
||||
min-width: 0px; /* Substance Painter fix */
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
|
|
@ -328,7 +329,15 @@ QTabWidget::tab-bar {
|
|||
alignment: left;
|
||||
}
|
||||
|
||||
/* avoid QTabBar overrides in Substance Painter */
|
||||
QTabBar {
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
border-top: 1px solid {color:border};
|
||||
border-left: 1px solid {color:border};
|
||||
border-right: 1px solid {color:border};
|
||||
|
|
@ -368,6 +377,7 @@ QHeaderView {
|
|||
QHeaderView::section {
|
||||
background: {color:bg-view-header};
|
||||
padding: 4px;
|
||||
border-top: 0px; /* Substance Painter fix */
|
||||
border-right: 1px solid {color:bg-view};
|
||||
border-radius: 0px;
|
||||
text-align: center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue