From d0592340a63f0188de06f60d3cea7c4583f1772a Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Wed, 2 Mar 2022 01:01:14 +0100 Subject: [PATCH] version 3.0 --- customtkinter/__init__.py | 2 +- customtkinter/customtkinter_draw_engine.py | 2 +- examples/complex_example.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customtkinter/__init__.py b/customtkinter/__init__.py index eaf225f..6d5d6a2 100644 --- a/customtkinter/__init__.py +++ b/customtkinter/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.4" +__version__ = "3.0" from .customtkinter_dialog import CTkDialog from .customtkinter_button import CTkButton diff --git a/customtkinter/customtkinter_draw_engine.py b/customtkinter/customtkinter_draw_engine.py index 6f731a7..253e454 100644 --- a/customtkinter/customtkinter_draw_engine.py +++ b/customtkinter/customtkinter_draw_engine.py @@ -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 diff --git a/examples/complex_example.py b/examples/complex_example.py index ea6d141..1ee19d7 100644 --- a/examples/complex_example.py +++ b/examples/complex_example.py @@ -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): diff --git a/setup.py b/setup.py index 81ca886..d5ca0f9 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def read(filename): setup(name="customtkinter", - version="2.4", + version="3.0", author="Tom Schimansky", license="Creative Commons Zero v1.0 Universal", url="https://github.com/TomSchimansky/CustomTkinter",