Oliver Scholl
Oliver Scholl

Reputation: 63

Increased fontsize of ttk::treeview leads to overlapping rows

If I change the fontsize of a treeview (that is already created) from e.g. 8 to 16 the rows overlap each other. I made some attempts to change the padding but I had no success. Other widgets change automatically their size in the right way if I change the font size, but not the ttk::treeview widget.

Upvotes: 0

Views: 341

Answers (1)

L. Alejandro M.
L. Alejandro M.

Reputation: 629

You can use the option -rowheight, however :

... The -rowheight value is not corrected by the tk scaling value or by the configured font size and must always be set ...

More about styling this widget: ttk::treeview manual page

Saludos!,

Upvotes: 1

Related Questions