![]() |
#1 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
QScrollBar handle
Hello Kovid,
I remember you're not much a fan of adding CSS/QSS in the code, because it tends to break things. Today I went to update Xnview, which is also a Qt-based program, then I found it has an option to skin the scrollbar handle, as shown in the screenshot for a test I did: So I wonder: since Qt has been updated in recent Calibre versions, would it be possible now to change the scrollbar handle color? This is the relevant code in that screencap: PHP Code:
Their complete QSS is below: Spoiler:
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid I am still not a fan of themeing Qt via stylesheets.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Oh well.
![]() |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
I find the calibre scrollbar really difficult to see in dark mode. Both viewer and editor preview windows have great scrollbars, with great contrast. IRC, @Kovid said that they were generated by QtWebengine.
Maybe just the scrollbars in dark mode could be changed. It's really hard to see. |
![]() |
![]() |
![]() |
#5 |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How handle different covers? | Paula-59 | Conversion | 0 | 03-11-2016 12:57 PM |
new here, handle with care | kiloJoe | Introduce Yourself | 3 | 07-04-2013 10:03 AM |
How would you handle this issue? | AnemicOak | Library Management | 12 | 04-13-2013 09:31 AM |
How Do You Handle Stress?? | desertgrandma | Lounge | 219 | 10-29-2010 10:31 AM |
Kindle DX handle ? | nimblem | Amazon Kindle | 0 | 08-14-2010 03:17 PM |