mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34: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;
|
border-radius: 0.2em;
|
||||||
padding: 3px 5px 3px 5px;
|
padding: 3px 5px 3px 5px;
|
||||||
background: {color:bg-buttons};
|
background: {color:bg-buttons};
|
||||||
|
min-width: 0px; /* Substance Painter fix */
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
|
|
@ -328,7 +329,15 @@ QTabWidget::tab-bar {
|
||||||
alignment: left;
|
alignment: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* avoid QTabBar overrides in Substance Painter */
|
||||||
|
QTabBar {
|
||||||
|
text-transform: none;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
|
text-transform: none;
|
||||||
|
font-weight: normal;
|
||||||
border-top: 1px solid {color:border};
|
border-top: 1px solid {color:border};
|
||||||
border-left: 1px solid {color:border};
|
border-left: 1px solid {color:border};
|
||||||
border-right: 1px solid {color:border};
|
border-right: 1px solid {color:border};
|
||||||
|
|
@ -368,6 +377,7 @@ QHeaderView {
|
||||||
QHeaderView::section {
|
QHeaderView::section {
|
||||||
background: {color:bg-view-header};
|
background: {color:bg-view-header};
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
border-top: 0px; /* Substance Painter fix */
|
||||||
border-right: 1px solid {color:bg-view};
|
border-right: 1px solid {color:bg-view};
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue