mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Remove scrollbar line controls for Dark theme
Fixes an issue when it's hard to perform drag-by-mouse move of the scrollbar while handle is at corner and has minimum size. Info: the handle minimum size styled as 20px, while add/sub-line is 14px, thus only 6px left for mouse drag when handle resides at corner. While handle styled to cover whole bar including, subcontrol elements, it is better to remove the hidden subcontrols completely.
This commit is contained in:
parent
047e586eaf
commit
7656ee95db
@ -168,6 +168,7 @@ QScrollBar::handle:vertical {
|
||||
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
|
||||
border: none;
|
||||
background: none;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical, QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
@ -197,6 +198,7 @@ QScrollBar::handle:horizontal {
|
||||
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
|
||||
border: none;
|
||||
background: none;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal, QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
|
Loading…
Reference in New Issue
Block a user