[Tkinter-discuss] Customize horizontal padding between image and text in Label widget?

python at bdurham.com python at bdurham.com
Thu Dec 2 07:04:16 CET 2010

Is there a way to customize the horizontal padding between an
image and text in a Label widget when compound=left or right?

The 2 ways I can think of are:

1. Use PIL to dynamically add columns of pixels to an image

2. Insert or append spaces to the text= option of the label to
force the separation of image and text

What I'm looking for is a way to specify the horizontal padding
(between image and text) in pixels.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101202/b7c8b1ef/attachment.html>

More information about the Tkinter-discuss mailing list