This document describes how the cell size is calculated.

A cell’s minimum width/height could be defined in row, colconfig and the cell node. Furthermore, a cell may be enlarged by multiple reasons.

1. Minimum element size
2. Minimum cell size
The minimum cell size is the minimum element size plus the padding size defined in padx and pady attributes.
3. Drawing cell size
A cell may be enlarged when drawing on the dialog. The reasons may include:
This cell will be enlarged vertically to the same value as the highest cell in the same row.
This cell will be enlarged horizontally to the same value as widest cell in the same column.
This cell will be enlarged to the height/width of the row/column
4. Element size
When the cell is enlarged, the element in the cell may be enlarged also.