Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text justification 1

Status
Not open for further replies.

DrA10101

Programmer
Jun 10, 2003
8
US
I'm attempting to left justify the text on a button with something like:

"btn configure -justify left -text {abc}"

The text is, however, always centered on the button.

Thanks in advance,

Craig
 
instead of justify use the anchor option. Anchor uses n e s w as arguments. You'll want "-anchor w" instead of "-justify left"

You can also use ne nw se sw to place the text in the corner.
 
Thank you smugindividual. That was it.

- Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top