Lines Matching defs:textWidth
2080 int textHeight, textWidth;
2104 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
2115 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
2118 textXOffset = (fullWidth - textWidth)/2;
2125 textXOffset = (fullWidth - textWidth)/2;
2155 imageXOffset = textWidth + 2;
2160 textXOffset = (fullWidth - textWidth)/2;
2539 int textWidth;
2541 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
2547 if (textWidth > *widthPtr) {
2548 *widthPtr = textWidth;
2560 *widthPtr += textWidth + 2;
2567 if (textWidth > *widthPtr) {
2568 *widthPtr = textWidth;
2577 *widthPtr = textWidth;