| On Fri, 24 Jul 2015 05:02:46 -0700 (PDT)
| john lunzer <[email protected]> wrote:
| > Using build d906c378fe8d
| >
| > I'm happy to see that the red/blue colors now reset when the status
| > bar updates but now my status bar is just grey/white and doesn't use
| > my dark theme anymore.
| Edward and I have been "discussing" this issue, by which I mean I've
| been pontificating about it :-)
Basically we need::
settings -> stylesheet -> appearance
not::
. other settings _
. \_ appearance
. settings -> stylesheet _/
If Qt stylesheets worked as well as browser stylesheets this would be
an easier goal, but there are performance issues with Qt stylesheets
which make it a bit more fiddly. I.e. it doesn't have a `class`
attribute like CSS, and although you can nominally use any object
property (I'm pushing `style_class` for Leo) it also doesn't
dynamically update in response to changes to that property,
and .setStyleSheet() is too slow to be called too frequently.
I'll try and convert the status bar handling to "CSS class" style
styling (ha), but it seems we need to change the way we handle themes a
bit. I think currently, or at least last time I looked, the theme
stylesheet completely replaces the "default" style, which would mean
the theme would need to be aware of the need for statusline styles
etc. Perhaps we need three layers:
base_stylesheet -> (optional) theme_stylesheet -> user_stylesheet
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.