On Sun, Oct 23, 2011 at 9:08 PM, Terry Brown

> My feeling is that people who are likely to use Leo, which
> requires editing a text file to select plugins :-), can probably handle
>
>  /* border for selected pane */
>  *[style_class~='focused_pane'] { border-width: 2; border-color: red; }

True.  Nobody is complaining loudly.

> Right, unfortunately Qt allows only a single stylesheet at a
> particularly level, and dinking around binding different sheets at
> different level seems too complicated.

Happily, this is not true.  As discussed in the other thread, we can
call w.setStyleSheet as many times as we like on a particular w
without problems.

In other words, we can regard stylesheets as merely a weird way of
specifying settings that would otherwise be specified using
non-existent methods like:

    w.setColors(foregroundColor,backgroundColor)
    w.setBorder(width,color)

etc.

The point is that we would never be confused about what w.setBorder
does, but apparently there is massive confusion about what
w.setStyleSheet(aStyleSheet) does.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to