On Wednesday, 13 April 2016 00:53:49 UTC+2, Francois Tonneau wrote:
> I forgot to say that the screenshots have been made with the new version (better pixmaps with gray borders eliminated, etc.).
Hi I tried this out and have a few observations.
1) I use the 'ttk::themes' command to give the list of themes not 'ttk::style theme names' and waldorf does not appear, it is necessary to add
package provide ttk::theme::waldorf 0.1
in the file for this to work.
2) I use alot of '-style Toolbutton' toolbar buttons and there is no definition in your code I added
ttk::style configure Toolbutton -padding -7 -relief flat
ttk::style configure Toolbutton.label -padding 0 -relief flat -anchor center -justify center
image create photo ttk::theme::waldorf::blank -data {
R0lGODlhGAAYAIAAAP8AAAAAACH5BAEAAAAALAAAAAAYABgAAAIWhI+py+0Po5y02ouz3rz7D4biSJZTAQA7
}
ttk::style element create Toolbutton.border image [list \
ttk::theme::waldorf::blank \
{!disabled pressed} ttk::theme::waldorf::button_p \
{!disabled active} ttk::theme::waldorf::button_a \
{!disabled focus} ttk::theme::waldorf::button_f \
{disabled} ttk::theme::waldorf::blank \
] -border 11 -sticky nsew
these lines as a quick addition and they look OK.
3) the other bitmap themes place their code/images in the ttk::theme namespace so I updated your code to this standard as well.
4) You did not reply to the license question from Brad
In any case this is a nice simple flat theme.
I will try and look into adding a background dark/light option like your purple idea.
Martyn