Re: ttk::button missing a -anchor option?
- From: Robert Joy <robert@xxxxxxxxx>
- Date: Thu, 31 Aug 2006 09:20:26 -0700
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
.
- References:
- ttk::button missing a -anchor option?
- From: George Petasis
- ttk::button missing a -anchor option?
- Prev by Date: Re: Embedding Tk in an MFC application
- Next by Date: Re: Loading large data sets
- Previous by thread: Re: ttk::button missing a -anchor option?
- Next by thread: ttk::label and setting a specific haeight in lines...
- Index(es):