|
From: Joe E. <jen...@fl...> - 2005-07-20 16:00:12
|
Mats Bengtsson wrote:
>
> I've run into two problems which I don't understand:
>
> 1) Setting ttk::entry font using
> style default Small.TEntry -font {Helvetica 8}
> pack [ttk::entry .e -style Small.TEntry]
> doesn't work. Using an explicit -font switch do work.
> This is different from most other tile widgets probably since
> they use a 'label' element which TEntry doesn't.
Known problem (see #1211387).
Hm... looking at it again, this doesn't seem too hard to fix.
Will up the priority.
> 2) Setting ttk::notebook tab fonts using (?)
> style default Small.TNotebook.Tab -font {Helvetica 8}
> style default Small.Tab -font {Helvetica 8}
> pack [ttk::notebook .nb -style Small.TNotebook.Tab]
> .nb add [ttk::label .nb.l -text Hej -padding 20] -text Hej
Also a known problem (see #1168548) -- basically,
custom styles for the "complex" widgets [ttk::notebook],
[ttk::treeview], and [ttk::paned] don't work at all,
since the widgets use hardcoded layout names for the subparts.
--Joe English
jen...@fl...
|