CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Setting default font size

Open 00Creamy opened this issue 1 year ago • 1 comments

in original tkinter I can do this with this code here

default_font = tkinter.font.nametofont("TkDefaultFont") default_font.configure(size=100)

How can I do a similar thing with ctkinter?

00Creamy avatar Aug 16 '24 09:08 00Creamy

Use ThemeManager of CustomTkinter:

from customtkinter import ThemeManager

if __name__ == "__main__":
    app = CTk() 
   
    font = ThemeManager.theme["CTkFont"]

Regards.

dipeshSam avatar Aug 16 '24 12:08 dipeshSam