[Python] In Tksheet cell editing, is it possible to extend the cell instead of adjusting...

Discussão em 'Python' iniciado por Stack, Junho 3, 2025.

  1. Stack

    Stack Membro Participativo

    In tksheet I have a table with fixed hight and width. When I enter text and it is too long the cell extends (during the edit) downwards to show me all the text I put in. After the edit only the beginning of the text shows, like it should, but when I click in the cell to edit or to just look at the text the column resizes which I don't want.
    Is there a way to enable the extended cell, like on the edit, instead of the resizing the column on click in the cell?

    [​IMG]

    sidenotes:

    • Some cells have dropdown lists that block the cell if it gets extended so I can not see its content. Therefore I have the problem.
    • I have code that automatically resizes the width and hight of the columns/rows always after the edit.
    • If I edit the extended cell again, it has the same property, like an empty one and if I enter more text it will be shown again below in an extended cell, but the width is still the "too wide" one and after the editing will auto resize to normal.

    Continue reading...

Compartilhe esta Página