From: Joe E. <jen...@fl...> - 2004-12-26 17:32:52
|
Csaba Nemethi wrote: > The -width option for tile labels is always in characters, even if the > widget contains an image (in this case, the value of the -width option > is silently ignored). It should only be ignored if the text label is not displayed at all, i.e., if '-compound image' or '-compound none -image $someImage' is specified. ... at least that's what's supposed to happen; looks like it isn't implemented correctly. But the intended behavior is that '-width' always specifies the width in characters of the text part of the label, regardless of the value of '-compound' and '-image'. > Another question: Why do tile label widgets have no -height option? Historical accident, mostly. An early assumption was that label widgets would only support single-line text, and that message widgets would be used for multi-line text. --Joe English jen...@fl... |