Python/Tkinter: Customize horizontal padding between image and text in Label widget? -


is there way customize horizontal padding between image , text in label widget when compound=left or right?

the 2 ways can think of are:

  1. use pil dynamically add columns of pixels image

  2. insert or append spaces text= option of label force separation of image , text

what i'm looking way specify horizontal padding (between image , text) in pixels.

there no built-in way want. own suggestions good. option create frame, , place separate image , label widgets in frame. have complete control of placement of widgets


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -