From f7d4f902a91d87c7f078963d6e8b757d84abd743 Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Sat, 6 Nov 2021 14:21:28 +0100 Subject: [PATCH] updated readme text --- Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Readme.md b/Readme.md index 46f1555..bf75c20 100644 --- a/Readme.md +++ b/Readme.md @@ -118,6 +118,8 @@ colors and removed the round corners, and added a border to the buttons: ### CTkButton with images It's also possible to put an image on a CTkButton. You just have to pass a PhotoImage object to the CTkButton with the argument ``image``. +If you want no text at all you have to set ``text=""`` or with the ``compound`` +option you can specify how to position both the text and image at once. You can find an example program ( /simple_test_images.py ), where I created two buttons with a bell and a settings image on them: