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.
--Hi 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 leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.
--Windows, both XP and 7, python 2.7.
Leo 4.11 final, build 6250, 2013-11-08 05:57:49
64bit Linux Mint 15
Python 2.7.4
--
When I mouse over the outline pane I get the focus line and when I mouse away it goes away. Same with the log pane. The persistence only occurs when I click into the window. It goes blue and stays that way until I restart Leo.
The body pane never gets the blue focus line no matter what I do..
Chris
Terry,
/* 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;
}
And here is what I changed it to to get the blue focus line to "work" in the body pane. It still does nothing for the Outline pane or the Log pane, and it broke the hover highlighting for the outline pane, the log pane and the add-editor "pane". If I wanted to use the @focused* lines to play around, where and how would I define them? And is this experimentation likely to get me any closer to solving for the desired behaviour? ie. Is this a misconfiguration or a bug?
From myLeoSettings.leo
/* focused pane border highlight */
QTextEdit#log-widget, LeoQTreeWidget#treeWidget, QTextEdit#richTextEdit {
border-style: solid;
border-width: 2px;
border-color: white;
}
QTextEdit:focus#log-widget, LeoQTreeWidget:focus#treeWidget, QTextEdit:focus#richTextEdit {
border-style: solid;
border-width: 2px;
border-color: cyan;
}
/* 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;
}
/* tree pane border highlight */
LeoQTreeWidget { border: 1px solid white }
LeoQTreeWidget:focus { border: 2px solid cyan }
LeoQTreeWidget:hover { border: 2px solid cyan }
Chris
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 ...
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.
[snip]
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 ...
revision-id: edre...@gmail.com-20131112032745-etles5havl17l8t1
date: 2013-11-11 21:27:45 -0600
build-date: 2013-11-12 00:36:23 -0800
revno: 6276
branch-nick: trunk
> > Both the headline, body & log pane is using a font that is (much) to big
>
> Same here, Win7. myLeoSettings.leo only has 2 nodes "@settings -->
> @enabled-plugins", no theme or font stuff.
On 11/12/2013 6:36 PM, Matt Wilkie wrote:
Edward, the way I'm seeing all these complaints about font sizes out of the box makes me think that the defaults should be shrunk down to 12 pt...
Not sure why 14pt-in-Leo shows so much larger than 14pt-in-others on my computers, but there you are. Maybe because I don't have the Deja Vu font?
Pushed, rev 6286.
Would you be willing to install Deja Vu as a test and report your experience? You can delete it later if you like.