When I set anchor='w' and ipadx=20, it seems that ipadx has no effect

Author: zhaozhaofoxCreated Nov 6, 2024Updated Sep 20, 2026
Labelsbug
  1. When I set anchor='w' and ipadx=20, it seems that ipadx has no effect
  2. I can not set ipadx =(20, 10) just like padx

image

code: `import customtkinter as ctk

class Window(ctk.CTk):

def __init__(self):
    super().__init__()
    self.geometry('400x300')
    ctk.CTkLabel(self, text='Banana', width=100, bg_color='red', fg_color='yellow', text_color='black', anchor='w').grid(ipadx=20)

if name == 'main': Window().mainloop() `

Source: TomSchimansky/CustomTkinter