View Single Post
Old 12-08-2022, 05:16 PM   #899
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by rtiangha View Post
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.
https://developer.mozilla.org/en-US/...SS/Specificity
geek1011 is offline   Reply With Quote