|
|
#16 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 306
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Hi retiredbiker, I forgot but the css file only does the Preview window in Sigil. If you want to modify the scrollbars in the other windows, you need to attack the Qt with a qt_styles.qss file located in the same place as the CSS file.
I pinched a bit of code from Qt's website and added it to my qt_styles.qss file. The first line was something I did a long time ago to ensure I had a white background in CodeView to improve some screenshots I was making. The rest is what I 'borrowed' from Qt's website. Thanks, Turtle91, for the tip about 'Spoiler' and code pasting. Spoiler:
Last edited by philja; 12-29-2024 at 01:06 PM. |
|
|
|
|
|
#17 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 454
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
I had just gotten to the point of noticing only the preview was changed...so thanks again. This all works perfectly!
|
|
|
|
| Advert | |
|
|
|
|
#18 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 306
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
|
|
|
|
|
|
#19 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 306
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Retiredbiker: just a small note about the width of the scrollbar in PreView. It varies according to your zoom setting (bottom right of screen). I set the width in the CSS file to 20px which suits the sort of range of zoom I use.
On the other hand, the CodeView window (which Qt draws) maintains the scrollbar width regardless of your zoom setting. |
|
|
|
|
|
#20 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 454
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
Ah, I had not realised it zoomed with the text, how wonderful. I had already set it down to 10px -- at my zoom level (huge) it matches the other panels at that setting. Very cool!
|
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| user interface |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing color of scroll bar? | Joseph The Grave | Calibre | 7 | 08-02-2024 02:50 AM |
| Viewer scroll bar Calibre 4.0 | qfwfq | Calibre | 1 | 10-04-2019 11:26 AM |
| Scroll bar visibility | AMF | Calibre | 6 | 08-10-2019 01:09 AM |
| Options for page scroll bar? | ShellShock | Marvin | 3 | 12-16-2013 03:48 PM |
| PDF reader with scroll bar | pj123 | Android Devices | 0 | 12-12-2011 01:07 PM |