Gtk2 TreeView question

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

On 19 December 2011 09:59, Michel D. [email protected] wrote:

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.

Changing theme?

The spacing derives from text size, there is no extra space afaik.

If you really insist you can change the properties of the text cell
renderer or roll your own.

Also what toolkit are you using? GTK? Qt? Other?

HTH

Michal

hi Michel,

try posting this question on the Gnome2 section of the forum, which is
specifically for questions about gtk2.

  • j

jake kaiden wrote in post #1037307:

hi Michel,

try posting this question on the Gnome2 section of the forum, which is
specifically for questions about gtk2.

I’ll do that, thanks.
_md

Michal S. wrote in post #1037302:

On 19 December 2011 09:59, Michel D. [email protected] wrote:

Changing theme?

The spacing derives from text size, there is no extra space afaik.
If you really insist you can change the properties of the text cell
renderer or roll your own.

Thanks. Good suggestion :

There was an extra space : “text_renderer.ypad = 0” does the trick,
default is 2.

Also what toolkit are you using? GTK? Qt? Other?

It is gtk2

_md