mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
readme chnage images
This commit is contained in:
parent
3bfa532fa5
commit
dbd8968ee7
Binary file not shown.
Before Width: | Height: | Size: 2.5 MiB |
@ -24,7 +24,7 @@ class App(customtkinter.CTk):
|
|||||||
self.sidebar_frame = customtkinter.CTkFrame(self, width=140, corner_radius=0)
|
self.sidebar_frame = customtkinter.CTkFrame(self, width=140, corner_radius=0)
|
||||||
self.sidebar_frame.grid(row=0, column=0, rowspan=4, sticky="nsew")
|
self.sidebar_frame.grid(row=0, column=0, rowspan=4, sticky="nsew")
|
||||||
self.sidebar_frame.grid_rowconfigure(4, weight=1)
|
self.sidebar_frame.grid_rowconfigure(4, weight=1)
|
||||||
self.logo_label = customtkinter.CTkLabel(self.sidebar_frame, text="CustomTkinter", font=("Roboto", -16))
|
self.logo_label = customtkinter.CTkLabel(self.sidebar_frame, text="CustomTkinter", font=customtkinter.CTkFont(size=20, weight="bold"))
|
||||||
self.logo_label.grid(row=0, column=0, padx=20, pady=(20, 10))
|
self.logo_label.grid(row=0, column=0, padx=20, pady=(20, 10))
|
||||||
self.sidebar_button_1 = customtkinter.CTkButton(self.sidebar_frame, command=self.sidebar_button_callback)
|
self.sidebar_button_1 = customtkinter.CTkButton(self.sidebar_frame, command=self.sidebar_button_callback)
|
||||||
self.sidebar_button_1.grid(row=1, column=0, padx=20, pady=10)
|
self.sidebar_button_1.grid(row=1, column=0, padx=20, pady=10)
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import tkinter.messagebox
|
|
||||||
import customtkinter
|
import customtkinter
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
import os
|
import os
|
||||||
@ -7,7 +6,6 @@ customtkinter.set_appearance_mode("dark")
|
|||||||
|
|
||||||
|
|
||||||
class App(customtkinter.CTk):
|
class App(customtkinter.CTk):
|
||||||
|
|
||||||
width = 900
|
width = 900
|
||||||
height = 600
|
height = 600
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user