Tk Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: 2439015
Title: overlapping rows in ttk::treeview
Type: Bug Version: obsolete: 8.5.5
Submitter: gcramer Created on: 2008-12-17 09:47:36
Subsystem: 88. Themed Tk Assigned To: jenglish
Priority: 3 Low Severity:
Status: Open Last Modified: 2009-01-09 16:40:36
Resolution: Later Closed By:
    Closed on:
Description:
I have a serious problem with ttk::treeview. Please try the following example:

font configure TkDefaultFont -size 20
ttk::treeview .tv -columns 1 -show {}
foreach c {1 2 3} { .tv insert {} end -values {Text} }
pack .tv

The rows are overlapping. What I'm doing wrong?
User Comments: gcramer added on 2009-01-09 16:40:36:
Thanks for your response. I'll try your suggestion.

[email protected] added on 2008-12-31 06:32:15:
> Is it planned for the near future that ttk::treeview will support any font?

Eventually yes, but not in the *near* future.

In the meantime: [ttk::style configure Treeview -rowheight $H] might do what you need.

Depends on what you're trying to do, of course, and (as usual) this is not future-proof.

gcramer added on 2008-12-31 05:05:06:
OK, then it's not a bug. Is it planned for the near future that ttk::treeview will support any font? This is the only way to have a (native) multi-column list.

jenglish added on 2008-12-23 01:42:43:
> The rows are overlapping. What I'm doing wrong?

Nothing.  The ttk::treeview widget only supports fixed-height rows at present.