jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
615 stars 68 forks source link

icon/image shifted up in buttons in ttk themes #560

Closed tph002 closed 5 years ago

tph002 commented 5 years ago

Bug Report


icons/images are shifted up in buttons in ttk themes (clearlooks, radiance, plastik) when i used the functions addIconButton(), addImageButton()).

Context


Usage of functions addIconButton(), addImageButton()).

Expected Behaviour


icon/image centered in buttons.

Actual Behaviour


icon/image shifted up in buttons.

Any error messages produced by appJar


no error messages produced.

Sample code, demonstrating the issue


I found a fix for this issue. I replaced in the appjar.py file all of the occurrences of "COMPOUND=TOP" with "COMPOUND=CENTER". And everything turns out OK.

Thanks for your great work.

Version Information


appjar version 0.93

jarvisteach commented 5 years ago

Great, thanks, I'll get that added to the next release - so many little tweaks needed to get ttk support fully working!

jarvisteach commented 5 years ago

This should be resolved in the next release...