It's only been a few days, but so far I'm liking them much better.  The 
easiest way to try it out by adding a new section to the start of the qt 
stylesheet:

* {
  font-family: @font-family-ui;
  font-size: @font-size-ui;
}

This section will apply to any Qt object that doesn't have its own font 
properties specified.  Of course, you need to define the new logical 
properties:

@string font-family-ui = "Segoe UI", Verdana, sans-serif
@string font-size-ui = 9.5pt

Sans-serif looks fine to me on all the Linux VMs I've tried so far.  The 
others are Windows fonts that everyone will have by now.  I think Verdana 
looks good, but Segoe UI is more compact and works better in small font 
sizes.

Then go through the stylesheet and remove all font family and size 
properties except of course on the body itself (QTextEdit {...}).  I keep 
getting surprised by how many hard font settings had gotten scattered 
throughout the stylesheet.  Just get rid of them.

This will get you most of the way there.  You may have to tinker with the 
size to get it to suit you, and you may need to adjust some paddings, 
margins, and the gutter font size and y-adjust, but these are all fine 
tunings.
On Friday, March 18, 2022 at 4:34:40 PM UTC-4 Edward K. Ream wrote:

> On Thu, Mar 17, 2022 at 12:17 PM [email protected] <[email protected]> 
> wrote:
>
>> Most if not all Leo themes I have seen use the same fonts (and usually 
>> font sizes) for most of the visual elements, such as the tree and menu 
>> bars.  And that font will invariably be a monospaced programming font, as 
>> is used for the body text.
>
>
> Heh. You have found a big blind spot. I agree that UI fonts would be good 
> to use.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/5e8ca246-de80-4aa5-83a1-dabc8e9af5f3n%40googlegroups.com.

Reply via email to