![]() |
#1 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Inspector - adjust font-size?
Greetings!
Is there a way to adjust the font-size of the Code View Inspector (make text bigger), either through settings or a custom stylesheet? I've dug through what settings I could find and Googled around, but my self-help efforts have fallen short. Note: this is not a feature request — this is simply me asking if I'm missing something here ![]() Thank you |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
According Chrome docs, using Cmd +/- should work. I have not tried it but QtWebEngine is basically a wrappered Chrome
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Could be the zoom keyboard code interferes?
Last edited by KevinH; 01-02-2020 at 05:02 PM. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Everything I've seen says Chrome? ... sure. QWebEngine? ... not so much.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Cmd/Ctrl +/- does not appear to work in Sigil for macOS either (though it works in Chrome).
Not a biggie. I don't actually use Inspector. I was simply checking it out since it's been mentioned recently in a few threads. Thank you ![]() |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I spent some time looking at it and there are many css files that are tightly packed inside a Chrome .pak file inside Qt. So user changes would not be easy. That said, the Inspector is just a QWebEngineView so I will implement Zoom in it as I did Preview. That way you will be able to use that same key sequence to make everything larger.
I need it for my own eyes so I assume others will as well. I will try to get that in place this weekend if I get some free time. |
![]() |
![]() |
![]() |
#8 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Sounds great! Thank you!
I'm rather baffled by Inspector, but very interested in trying to learn how to use it. The zoom feature will be welcome to my aging eyes. Zoom would also be welcome in PageEdit's Inspector — not that I use that much either, just fiddling around with all the new stuff ![]() ETA: I must admit I am really fascinated by PageEdit. The ability to open an unzipped epub by opening the opf with PageEdit is really cool. Last edited by odamizu; 01-03-2020 at 08:20 PM. |
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Okay, just pushed support for this to master.
In the Inspector now (this is hard coded since the Inspector has its own key shortcuts we can not change) Ctrl + "+" now does a zoom in Ctrl + "-" now does a zoom out Ctrl + "0" now does a zoom reset I will push similar changes to PageEdit's Inspector later today hopefully. KevinH |
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Okay, I did something similar for the PageEdit Inspector.
The problem is those key sequences are used to zoom the main Window in PageEdit and the Inspector is just a QDockWidget in PageEdit (not a top level dialog). Therefore in order to allow the normal key sequence to zoom the Main Window, and still independently zoom the Inspector, I changed the Inspector in PageEdit to respond to META + "+" to zoom in META + "-" to zoom out META + "0" to zoom reset. This allows the user to independently zoom the Inspector and the MainWindow in PageEdit. At some point, PageEdit may need to have a KeyBoard ShortCut Preferences of its own just to allow the user to change things, but for right now, that is low on my priority. |
![]() |
![]() |
![]() |
#11 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Many Windows and Linux users won't know what a META is.
if it maps to the Windows Key then be aware that Windows itself uses Windows Key + '+' to invoke its Magnifier - which is the most irritating gadget I know of ![]() BR |
![]() |
![]() |
![]() |
#12 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
On a mac it maps to the option key. What would be safer to use on Windows given Ctrl +, Ctrl -, and Ctrl 0 are already taken?
|
![]() |
![]() |
![]() |
#13 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
See ==>> Keyboard shortcuts in Windows - Windows Help
Ctrl/Shift/+, Ctrl/Shift/-, and Ctrl/Shift/0 should be OK. BR |
![]() |
![]() |
![]() |
#14 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
|
![]() |
![]() |
![]() |
#15 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,796
Karma: 6759036
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
PageEdit Main WYSIWYG window:
PageEdit Inspector window:
Chrome Developer window:
Sigil Preview window:
Sigil Inspector window:
Last edited by odamizu; 01-06-2020 at 10:37 PM. Reason: clarity & brevity |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adjust font within the Book Store | Brie987 | Kobo Developer's Corner | 0 | 03-19-2014 03:57 AM |
Problem changing font size using font size key | Waylander | Conversion | 0 | 10-02-2013 03:30 PM |
Adjust font size of PDF? | peejayw | Kobo Reader | 2 | 04-24-2013 10:30 PM |
font of the title; adjust size | faber1971 | Recipes | 2 | 02-20-2012 02:19 PM |