|
From: Mats B. <ma...@pr...> - 2005-07-20 14:11:50
|
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.
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
Tested on Aqua (1 also on XP)
/Mats
|