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 }


Make sure you remove the following code from your leoSettings.leo file. It 
appears to have no discernible effect.


/* focused pane border highlight */

QTextEdit#log-widget, LeoQTreeWidget#treeWidget, QTextEdit#richTextEdit { 

  border-style: @focused-border-style;

  border-width: @focused-border-width; 

  border-color: @focused-border-unfocus-color; 

}

QTextEdit:focus#log-widget, LeoQTreeWidget:focus#treeWidget, 
QTextEdit:focus#richTextEdit { 

  border-style: @focused-border-style;

  border-width: @focused-border-width; 

  border-color: @focused-border-focus-color; 

}

Adding the following line looks promising for the Outline Pane, right up 
until you click into the pane. I think there is another action (besides 
:hover and :focus) that is overriding the desired behaviour. And I am still 
trying to track down the class name for the log pane.

/* tree pane border highlight */

LeoQTreeWidget { border: 1px solid white }

LeoQTreeWidget:focus { border: 2px solid cyan }

LeoQTreeWidget:hover { border: 2px solid cyan }



Chris


On Sunday, November 10, 2013 10:39:05 AM UTC-8, Viktor Ransmayr wrote:
>
> Hello Edward
>
> Am Freitag, 8. November 2013 14:08:08 UTC+1 schrieb Edward K. Ream:
>
>> On Friday, November 8, 2013 6:29:20 AM UTC-6, Edward K. Ream wrote:
>>  
>>
>>> My suggestions:
>>>
>>> - Use pt for fonts; use px for borders, margins, etc.
>>> - Use 14pt as default for most panes.
>>> - Use 12pt for text in the Find Panel, and for QLabels.
>>> - Use 5px solid blue for the focus border.
>>>   It's always helpful (especially for newbies!) to see at a glace where 
>>> focus resides.
>>> - Use white, not light pink, for the background of the body pane.
>>>
>>
>> These are now on the trunk at rev 6250.  One addition: use 14pt for the 
>> status line.
>>
>
> The out of the box experience for Leo on Windows (8 only?) has 
> deteriorated after that change!
>
> Both the headline, body & log pane is using a font that is (much) to big 
> ...
>
> With kind regards,
>
> Viktor
>
> PS: For analysis I'm providing the latest startup log pane:
>
> <log>
>
> Leo Log Window
> Leo 4.11 final, build 6257, 2013-11-10 18:20:52
> Python 3.3.2, qt version 4.8.5
> Windows 6, 2, 9200, 2, 
> leoID=VR20130923 (in C:\Users\Viktor\.leo)
> load dir: C:\Repositories\bzr\leo-editor\leo\core
> global config dir: C:\Repositories\bzr\leo-editor\leo\config
> home dir: C:\Users\Viktor
> reading settings in 
> C:\Repositories\bzr\leo-editor\leo\config\leoSettings.leo
> docutils loaded
> reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
> reading settings in C:\Users\Viktor\Worklogs\WL2013.leo
> Abbreviations off
> reading: C:\Users\Viktor\Worklogs\WL2013.leo
>
> </log>
>
>

-- 
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