On Mon, 11 Nov 2013 08:08:43 -0800 (PST)
Chris George <[email protected]> wrote:

> I restored those entries to leoSetting.leo.
> 
> When I open myLeoSettings.leo, the outline pane has the focus. The 
> interesting part is that in this state the new setting I created for the 
> LeoQTreeWidget 
> actually works. The pane has the 2px cyan focus line and retains it until I 
> click into a different window. Forever after in this session that window 
> does not respond to hover and on focus it takes on a 1px red line. The log 
> pane shares the 1px red line on focus and also loses the hover behaviour on 
> first focus.

I guess I'm confused now - I thought the old focus drawing with widgets
code was still active, but 
leoSettings.leo#Candidates for setting in 
myLeoSettings.leo-->Appearance-->Focus border settings
implies it isn't - anyway, hopefully your explorations will be more
productive now you know there is the possibility of focus drawing with
widgets and that @focused-border-style matters, whether in the @config
node of the dark themes or perhaps in the text of the default theme's
@data qt-gui-plugin-style-sheet

Cheers -Terry

> Chris
> 
> On Monday, November 11, 2013 3:37:14 AM UTC-8, Edward K. Ream wrote:
> >
> > On Mon, Nov 11, 2013 at 12:02 AM, Chris George 
> > <[email protected]<javascript:>
> > > wrote:
> >
> >> Progress.
> >>
> >> Adding this to the @data qt-gui-plugin-style-sheet in myLeoSettings.leo 
> >> adds the desired behaviour to the body pane.
> >>
> >> /* body pane border highlight */
> >>
> >> LeoQTextBrowser { border: 1px solid white }
> >>
> >> LeoQTextBrowser:focus { border: 2px solid cyan }
> >>
> >> LeoQTextBrowser:hover { border: 2px solid cyan }
> >>
> >
> > Thanks for this.
> >  
> >
> >> Make sure you remove the following code from your leoSettings.leo file. 
> >> It appears to have no discernible effect.
> >>  [snip]
> >>
> >>
> > Maybe not a good idea.  If I am not mistaken, settings starting with @ are 
> > used (somehow) by Terry's settings code.  Let's see what Terry has to say...
> >
> > 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/groups/opt_out.

Reply via email to