View Single Post
Old 01-08-2023, 03:02 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,152
Karma: 211348980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There's already a generic windows dark mode qss resource (:/dark/win-dark-style.qss) that gets loaded by Misc/SigilDarkStyle.cpp (which in turn is loaded on Windows whenever main.cpp determines that windows dark mode is wanted).

That existing resource might be the place to put some changes. Especially if assigning a new qss file/resource to CodeView causes any issues with the default qss.

Preview's scrollbars are styled by css being injected.

@BeckyEbook is pretty handy with this qss stuff. She contributed a lot to the Windows dark mode when we were first tweaking it.

Last edited by DiapDealer; 01-08-2023 at 03:09 PM.
DiapDealer is offline   Reply With Quote