I have an issue with Leo's scroll bars, especially the vertical scrollbar 
for the outline view.  Most of the more recent themes don't show an arrow 
at the ends of the scrollbar region.  
Scroll bars normally have two clickable regions, the line-by-line region 
and the page-by-page region.  The line-by-line region usually shows an 
arrow to click, except for these Leo themes.  The page-by-page region is 
everywhere in the scollbar area that isn't the handle or the arrows.

With invisible arrows, I can't always tell if I'm clicking in the 
page-by-page or the line-by-line, so sometimes the outline will 
unexpectedly jump by a page when I wanted a line.  I really dislike that.  
This happens with the newer "solarized"-based themes including Leo's 
default theme, and my own themes (the ones with "tbp" in their names) that 
are derived from the default.

I have experimented with the CSS styles for the parts of the scrollbars, 
and it's very tricky.  There are very few CSS properties that you can 
change and still have the arrows.  Basically, without adding CSS properties 
to the stylesheets, Qt figures out the right colors, etc., to match your 
page colors, and sets up arrows and borders to suit.  But change one color, 
padding, margin, etc, and then Qt gives up and makes you specify everything 
yourself.  And you won't get an arrow.  You can arrange to have a box with 
a dot where the arrow normally is, and you can provide your own arrow 
image.  It's tricky but doable to get that set up.

The two exceptions I have found are that you can change the background 
color of the page-by-page regions, and you can change the width of the 
scrollbars.

To avoid making this post even longer, I'll give examples in my next post, 
and then ask readers for their opinions and suggestions.

-- 
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/aa954f22-c2c9-4807-be7e-6de041d8b779n%40googlegroups.com.

Reply via email to