I am able to customize the external padding on all four sides of a tkinter widget using
widget.grid(0, 0, padx=(left_pad, right_pad), pady=(top_pad, bottom_pad))
However, when I replace padx
and pady
with ipadx
and ipady
respectively, I receive the error: bad ipadx value "10 1": must be positive screen distance
Why do they behave differently?