version 3.0

This commit is contained in:
Tom Schimansky 2022-03-02 01:01:14 +01:00
parent 9ed461e04c
commit d0592340a6
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
__version__ = "2.4" __version__ = "3.0"
from .customtkinter_dialog import CTkDialog from .customtkinter_dialog import CTkDialog
from .customtkinter_button import CTkButton from .customtkinter_button import CTkButton

View File

@ -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,
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", self._canvas.itemconfig("slider_line_1",
width=corner_radius * 2) width=button_corner_radius * 2)
return requires_recoloring return requires_recoloring

View File

@ -4,7 +4,7 @@ import customtkinter
import sys import sys
customtkinter.set_appearance_mode("Light") # Modes: "System" (standard), "Dark", "Light" 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): class App(customtkinter.CTk):

View File

@ -19,7 +19,7 @@ def read(filename):
setup(name="customtkinter", setup(name="customtkinter",
version="2.4", version="3.0",
author="Tom Schimansky", author="Tom Schimansky",
license="Creative Commons Zero v1.0 Universal", license="Creative Commons Zero v1.0 Universal",
url="https://github.com/TomSchimansky/CustomTkinter", url="https://github.com/TomSchimansky/CustomTkinter",