| Store | Cart

Re: [TCLCORE] Tip 442

From: Francois Vogel <fvog...@free.fr>
Fri, 19 Aug 2016 21:17:25 +0200
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

Recent Messages in this Thread
Joe English Aug 19, 2016 04:46 pm
Francois Vogel Aug 19, 2016 07:17 pm
Francois Vogel Aug 19, 2016 11:03 am
rene Aug 19, 2016 11:42 am
Francois Vogel Aug 19, 2016 06:42 pm
Donal K. Fellows Aug 19, 2016 12:39 pm
Francois Vogel Aug 19, 2016 06:31 pm
rene Aug 22, 2016 07:07 am
Messages in this thread