Tk Source Code

View Ticket
Login
Ticket UUID: a9e637f1c803a83d2b40bf78da01970407132d45
Title: ttk::treeview does not show partial bottom row
Type: Patch Version: 8.6.13
Submitter: sbron Created on: 2023-12-25 11:13:52
Subsystem: 88. Themed Tk Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-01-06 16:43:13
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2024-01-06 16:43:13
Description:

When a ttk::treeview widget's height isn't a full multiple of the row height, only the rows that fit completely are drawn. This leaves some empty space at the bottom, giving the user the false impression that they are at the end of the list. Only by looking at the scrollbar it becomes clear that that's not actually the case.

The problem can actually be fixed quite easily. See the attached patch (treeview.diff).

User Comments: jan.nijtmans added on 2024-01-06 16:43:13:

Fix merged to all branches. Thanks for the report and the fix!


jan.nijtmans added on 2023-12-26 00:43:28:

Now committed to a [8a8493a3f156d846|branch]


Attachments: