mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
change scrollbar stylesheet to avoid issues
This commit is contained in:
parent
728bf64395
commit
30b854128e
2 changed files with 34 additions and 0 deletions
|
|
@ -1067,6 +1067,38 @@ PixmapButton:disabled {
|
|||
font-size: 13pt;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar {
|
||||
background: transparent;
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar:horizontal {
|
||||
height: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar:vertical {
|
||||
width: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar::handle {
|
||||
background: {color:bg-scroll-handle};
|
||||
border-radius: 4px;
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar::handle:horizontal {
|
||||
min-width: 20px;
|
||||
min-height: 8px;
|
||||
}
|
||||
|
||||
#PublisherVerticalScrollArea QScrollBar::handle:vertical {
|
||||
min-height: 20px;
|
||||
min-width: 8px;
|
||||
}
|
||||
|
||||
ValidationArtistMessage QLabel {
|
||||
font-size: 20pt;
|
||||
font-weight: bold;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ class VerticalScrollArea(QtWidgets.QScrollArea):
|
|||
self.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
||||
self.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
|
||||
self.setObjectName("PublisherVerticalScrollArea")
|
||||
|
||||
self.setAttribute(QtCore.Qt.WA_TranslucentBackground)
|
||||
# Background of scrollbar will be transparent
|
||||
scrollbar_bg = self.verticalScrollBar().parent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue