Many thanks, Milan,
you are spot on: eliminating the tildes does indeed fix the problem.
Alac

On Wednesday, March 15, 2017 at 5:18:35 PM UTC+9, Milan Melena wrote:
>
> Hi,
>
> I have found out, that problem is with selectors using ~= (tilda) 
>
> for example:
>
> QLineEdit#lineEdit[style_class ~= 'minibuffer_warning'] {
>     background-color: @minibuffer_warning_color;
> }
>
> When you try replace all occurences of "~=" with "=" in stylesheet, 
> everything seems work right even in PyQ 5.8.
>
> Milan Melena
>
> Dne středa 15. března 2017 3:39:22 UTC+1 Terry Brown napsal(a):
>
>> Just confirmed in a Windows 7 VM switching back and forth between PyQt 
>> 5.7.1 and 5.8 (Python 3 for both) that stylesheets that work fine in 
>> 5.7.1 (my personal one, and EKR Windows Dark) have issues in PyQt 5.8. 
>>
>> My backgrounds are ok, but font sizes are wrong.  EKR Dark had light 
>> backgrounds and some fonts aren't sized right, but some are. 
>>
>> I can not google up any reports of this issue, but it might be only 
>> PyQt, not Qt, or just too early to be being reported yet? 
>>
>> So it might be possible to write stylesheets that work in 5.8 and lower 
>> versions, seeing addressed the right way fonts and backgrounds can be 
>> changed, but what a pain. 
>>
>> Haven't looked into it beyond this observation yet. 
>>
>> Cheers -Terry 
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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