From: Damon Courtney <damon@tc...> - 2008-02-22 00:52:43
> It does return the empty string.
> What's especially weird is that the buttons use the normal TButton
> if I grid them; it's packing them that messes things up. Even more
> strange, even if I explicitly configure the style as TButton, they
> display as Toolbutton if I pack them.
> This doesn't happen in other instances when I pack ttk::buttons--it
> happens here.
> This is with Tk 8.5.0 on Leopard.
Are you packing with -fill both or something? The Aqua buttons
are only allowed to be the standard height. If there is even one
pixel of height difference, Ttk automatically converts them to the
Toolbutton-looking style. I would assume this is because the the
jelly bean buttons can't grow vertically.
How are you packing them?
Get latest updates about Open Source Projects, Conferences and News.