More Options For Labels

More Options For Labels

Here I'll show a miscelany of options you might want to play with to better control the visual appearance of labels in your Tclet. First, you can make the label have a border as wide as you like, by using the -bd option; the value specifies the number of pixels to use for the border:



This label has a border width of 3. Next, we examine the various values of the -relief option:



The -anchor option, whose value is a geographical direction like w or se, determines where the text of the label will be relative to the center of the label, if the label is made bigger than needed to accommodate the text.:



If your label's text contains more than one line, you can justify the text in the label to be either centered, right or left justified, with the -justify option:





comments?