On Mon, Sep 15, 2014 at 9:30 AM, 'Terry Brown' via leo-editor
<[email protected]> wrote:

>> There seems to be *no* way to check the validity of a Qt style sheet.
...
> It wasn't intended to test correctness of the stylesheet, just that the
> intended stylesheet had been successfully applied - so probably more
> paranoia the useful.

Ok.  I'll just trash ssm.check_stylesheet. Too bad there is no
effective check. It's so easy to mess up stylesheets.

> I think the font re-sizing(*) code applies the stylesheet to the body widget.
...
> test's confirm that changing style settings no longer affect the body widget
> after dynamic font-size zooming.
>
> So the short term fix would be to stop the font-resizing code applying
> the stylesheet to the body widget and have it apply it to the same
> target as Settings -> Reload Styles, we can address any
> slow responsiveness problem later.

Thanks for these clarifications.

I don't see the font-resizing code.  Is it in the repo anywhere?

>> The only remaining task: transition to fully-parametrized stylesheets.
>
> And the hierarchical menu under Settings...

I'll leave this to you :-)

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to