On Sat, Jan 21, 2012 at 9:41 AM, Terry Brown <[email protected]> wrote:
> Here's a one line @button node you can add to myLeoSettings.leo > > @button set-style > c.frame.top.leo_ui.setStyleSheet(p.b) Cool. I've added this to my "pre-writing" pile of things to be included in the next set of docs. Important: setStyleSheet *replaces* the previous stylesheet with the new stylesheet, so you had best set all the attributes of Leo's default stylesheet. As an alternative, if w is any Qt widget, w.setStyleSheet(p.b) will set the stylesheet for that widget only: the top-level stylesheet (the stylesheet for c.frame.top.leo_ui) remains unchanged. 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.
