On Wed, Mar 7, 2018 at 10:08 AM, Chris George <technat...@gmail.com> wrote:

It looks like inheritance and position in the css tree matters.
>

​Thanks for this detailed report.

Imo, the behavior you report is a serious bug in the Qt stylesheet
mechanism.  Adding css for QWidget, no matter where added, should not
affect more specific css.

Happily, the workaround is as you imply, namely placing more general css
before more specific.

I'll make this change and add a warning comment in all styles.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to