Joe English a écrit le 19/08/2016 à 18:46 :
> Francois Vogel wrote:>> rene a écrit le 19/08/2016 à 08:33 :>>>> 1.3. A word about defaults for the new options would be great and>>>> would avoid guesses (-anchor w was unexpected for me at least)>>> Options are copied from labels. They have the same name, meaning and>>> defaults.>> OK, why not.>> But did you consider that the defaults could perhaps be more>> specifically targeted to the use of the new features? I mean: usually>> the text is centered in the progressbar. OK, not a big deal.> The usual convention for ttk::* widgets is to use NULL> for the default widget option value, and specify the normal> default in the style.
But, as far as I understand the code, that's not what is done in the
TIP #442 patch. And (since I'm now aware that this patch is copied
from ttk::label option spec), it's neither done that way in the label
widget. For instance, the default for "foreground" is "black", and for
-anchor it is "w".
Regards,
Francois
------------------------------------------------------------------------------
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core