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_dialog import CTkDialog
|
||||||
from .customtkinter_button import CTkButton
|
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,
|
||||||
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
|
||||||
|
|
||||||
|
@ -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):
|
||||||
|
2
setup.py
2
setup.py
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user