ragardner / tksheet

Python tkinter table widget for displaying tabular data
https://pypi.org/project/tksheet/
MIT License
408 stars 50 forks source link

Fix index column width inconsistency #236

Closed BlindChickens closed 5 months ago

BlindChickens commented 5 months ago

The index width got calculated differently when the row_index was set to follow another column than when it was not.

There are still some magic numbers which I don't fully understand, and can be commented to help maybe.

But nonetheless, this here fixes the issue for me.

ragardner commented 5 months ago

Thanks for this, I will merge it and then make an adjustment after, but the result will be the same, using the row index get_cell_dimensions function