CustomTkinter
CustomTkinter copied to clipboard
CTkButton text alignment
Hi there! is there a solution, if I want to set the text and image alignment in the button on the left or right side ?
Yes, in order to place the image on right or left you can use the argument compound="right"/"left"
ok.. sorry.. I didn't mean the compound.. I mean the "justify" or "alignment" of both elements in the button element.. example: Situation now: space Image space TEXT space
what I want: NO SPACE image space TEXT space| the alignment of both should be on the left.. or right..
so there is my optic problem...
Ok, so you want the images to stick to the left side, no matter how long the text is?
the images and the text .. like the following picture..
I will add this feature next week when I have time!
austrianadrian @.***> schrieb am Mi., 10. Aug. 2022 18:46:
[image: Bildschirmfoto 2022-08-10 um 18 43 30] https://user-images.githubusercontent.com/110934483/183966955-469c6d29-1522-4cdd-9a25-240f2f49b720.png
— Reply to this email directly, view it on GitHub https://github.com/TomSchimansky/CustomTkinter/issues/376#issuecomment-1210979630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP26F4YMOQY7KCFCJYBZ2OTVYPMGBANCNFSM56B34WWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
😍
Duplicate of https://github.com/TomSchimansky/CustomTkinter/issues/164