Forum: Ruby-Gnome 2 TreeView vertical spacing

Posted by Michel Demazure (badal)
on 2011-12-19 11:49
Does anyone knows how to decrease the default (vertical) spacing between
lines in a TreeStore (or TreeView) ?

I googled, found the question (for Python), but no answer.

_md
Posted by Michel Demazure (badal)
on 2011-12-19 12:04
Answer (thanks to Michal Suchanek)

By default, the TextRenderer ypad value is 2. "renderer.ypad = 0" does 
the trick.

_md
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.