Re: ttk::button missing a -anchor option?



George Petasis wrote:
Hi all,

Is there a way I can choose a different anchoring for image+text in a ttk::button, other than centered?

I see that ttk::label has a -anchor option, but ttk::button seems to not have it. Any ideas?

George

The -compound option will not allow you to set the anchor.

You could try creating an alternate style layout and specify this by using the -style option as this does seem to provide a path for positioning. I've not used this myself but I would at least give it a try.

Robert Joy
.


Quantcast