mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
changed Readme
This commit is contained in:
12
Readme.md
12
Readme.md
@@ -101,19 +101,14 @@ the System mode:
|
||||
Here I used the ``customtkinter.CTk()`` class to create the main window with two CTkFrame's and
|
||||
set the appearance mode to `System`. It has some
|
||||
kind of a menu on the left side, and I used all CustomTkinter elements
|
||||
there are at the moment.Maybe this is a good reference if you want to
|
||||
there are at the moment. Maybe this is a good reference if you want to
|
||||
create your own application with this library.
|
||||
(Code: /complex_example.py)
|
||||
(Code: `examples/complex_example.py`)
|
||||
|
||||
With macOS dark-mode turned on, it looks like this:
|
||||
|
||||

|
||||
|
||||
But you can also customize it by yourself. Here I changed the main
|
||||
colors and removed the round corners, and added a border to the buttons:
|
||||
|
||||

|
||||
|
||||
### Default color themes
|
||||
|
||||
If you don't set any colors at all you will get the standard blue
|
||||
@@ -142,6 +137,9 @@ Example 1: ```examples/complex_example.py``` (light and dark mode)
|
||||
|
||||

|
||||
|
||||
In the following example I customized the elements with new colors, chnaged the corner_radius
|
||||
and added a border to the button.
|
||||
|
||||
Example 2: ```examples/complex_example_custom_colors.py``` (dark mode)
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user