For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > January 2005 > determine size of text in button









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author determine size of text in button
blueberryCoffee

2005-01-14, 3:58 am

Hi, I have a button that expands to fill the window but if the window is small then the text is cut off at both ends.
So a button that read "Send command XXXX to system YYYYY" shows as "mand XXXX to syst". I want to know if there is a
way to check if the text can be displayed so that I can change the text to "Send command XXXX..."

Thanks in advance
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com