Replies: 1 comment 3 replies
-
import tkinter
import customtkinter
from PIL import Image
customtkinter.set_appearance_mode("System")
customtkinter.set_default_color_theme("saved_theme.json")
customtkinter.set_widget_scaling(1.0)
HEIGHT = 400
WIDTH = 500
app = customtkinter.CTk()
app.title("My App")
app.geometry((f"{WIDTH}x{HEIGHT}"))
app.resizable(False, False)
Button1 = customtkinter.CTkButton(master=app, width=246, height=44, corner_radius=22, text='SIGN IN')
Button1.place(x=133, y=241)
Entry2 = customtkinter.CTkEntry(master=app, width=340, height=48, justify='center', placeholder_text='USER ID')
Entry2.place(x=81, y=93)
Label3 = customtkinter.CTkLabel(master=app, font=customtkinter.CTkFont('Roboto',30), text='LOGIN PAGE')
Label3.place(x=163, y=31)
Entry4 = customtkinter.CTkEntry(master=app, width=340, height=48, justify='center', placeholder_text='PASS')
Entry4.place(x=83, y=165)
CheckBox5 = customtkinter.CTkCheckBox(master=app, text='Remember me')
CheckBox5.place(x=201, y=303)
app.mainloop()
Example I created in this video |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can you share the actual code that is exported from the app?
Beta Was this translation helpful? Give feedback.
All reactions