mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
version 3.0
This commit is contained in:
parent
9ed461e04c
commit
d0592340a6
@ -1,4 +1,4 @@
|
||||
__version__ = "2.4"
|
||||
__version__ = "3.0"
|
||||
|
||||
from .customtkinter_dialog import CTkDialog
|
||||
from .customtkinter_button import CTkButton
|
||||
|
@ -543,7 +543,7 @@ class CTkDrawEngine:
|
||||
slider_x_position + (button_length / 2), height - button_corner_radius,
|
||||
slider_x_position - (button_length / 2), height - button_corner_radius)
|
||||
self._canvas.itemconfig("slider_line_1",
|
||||
width=corner_radius * 2)
|
||||
width=button_corner_radius * 2)
|
||||
|
||||
return requires_recoloring
|
||||
|
||||
|
@ -4,7 +4,7 @@ import customtkinter
|
||||
import sys
|
||||
|
||||
customtkinter.set_appearance_mode("Light") # Modes: "System" (standard), "Dark", "Light"
|
||||
customtkinter.set_default_color_theme("dark-blue") # Themes: "blue" (standard), "green", "dark-blue"
|
||||
customtkinter.set_default_color_theme("blue") # Themes: "blue" (standard), "green", "dark-blue"
|
||||
|
||||
|
||||
class App(customtkinter.CTk):
|
||||
|
Loading…
Reference in New Issue
Block a user