79806672

Date: 2025-11-01 16:32:35
Score: 1
Natty:
Report link

If you are using the customtkinter library, you can also do this:

import customtkinter as ctk
button = ctk.CTkButton(text="Centered Button")
button.place(relx=0.5, rely=0.5, anchor=ctk.CENTER)

but it should work just fine with the anchor="center". This is just another method :)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Merix