View Single Post
Old 09-21-2022, 06:00 PM   #884
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
BTW I'm glad to see someone else taking an interest in the details of patching.
One more question then:

Going with the patching zh-HK approach, both it and the original HeaderSmallElidedLabel section both have a font-size property; running the patch would mean it would appear twice in default.qss. Clearly, the patched one takes precedence (otherwise the patch wouldn't work in the first place), but in general, if the same situation were to occur, which version would take precedence? Whichever one appears later in the file? Or is it determined another way? I assume qss is similar to css in that the last instance overrides everything else before it, but I don't really know QT enough to be confident in how stuff works.

Last edited by rtiangha; 09-21-2022 at 06:02 PM.
rtiangha is offline   Reply With Quote