|
From: Vince D. <vin...@gm...> - 2006-03-27 22:28:27
|
Thanks for the help -- few followup issues below! On 3/27/06, Jeff Hobbs <je...@ac...> wrote: > or to have a label that is > always black (on a case-by-base), do: > > style default Active.TLabel -foreground black > ttk::label -style Active.TLabel ... That doesn't work for me -- the label still goes grey in the background. Does it work for you? > > Second Q: is it possible to create the smaller, toolbar style > > menubuttons in the Aqua style? > > Like so? > > style default Slim.Toolbutton -padding 1 > ttk::button $w -style Slim.Toolbutton ... Wow! Magic.. that indeed is what I was after. One minor detail, the menubuttons I was after (as opposed to buttons) on OS X have a little black triangle in the corner to indicate that a menu will popup when you click on them. In fact I've just noticed in the Tile demo that this little triangle is there for the non-tile menubutton and (delving into tk's source code) the toolbar style is generated automatically in plain old TkAqua (no tile) when a menubutton is compound. One last question on this: each such Tile Toolbutton has an empty margin outside the thin black border. In some MacOS X applications, small toolbar buttons are arranged right next to each other, with their black borders touching, and hence one would not want this empty margin to appear. Is this possible with Tile? regards, Vince. |