rem: int twidth = W_VIEW(tPtr)->size.width;
context: recalcTabWidth(TabView *tPtr){    int i;    int twidth = W_VIEW(tPtr)->size.width;    int width;    if (tPtr->flags.uniformTabs) {	int tabWidth;		tabWidth = 0;	for (i = 0; i < tPtr->itemCount; i++) {	    char *str = WMGetTabViewItemLabel(tPtr->items[i]);	    	    if (str) {		width = WMWidthOfString(tPtr->font, str, strlen(str));		if (width > tabWidth)		    tabWidth = width;	    }	}		tabWidth = tabWidth + 30;		for (i = 0; i < tPtr->itemCount; i++)	    W_SetTabViewItemTabWidth(tPtr->items[i], tabWidth);		tPtr->firstVisible = 0;	tPtr->visibleTabs = countVisibleTabs(tPtr, -1);	if (tPtr->visibleTabs < tPtr->itemCount)	    tPtr->flags.dontFitAll = 1;	else	    tPtr->flags.dontFitAll = 0;    } else {	for (i = 0; i < tPtr->itemCount; i++) {	    char *str = WMGetTabViewItemLabel(tPtr->items[i]);	    if (!str)		continue;	    width = WMWidthOfString(tPtr->font, str, strlen(str)) + 30;	    W_SetTabViewItemTabWidth(tPtr->items[i], width);	}	if (countVisibleTabs(tPtr, -1) < tPtr->itemCount) {	    tPtr->flags.dontFitAll = 1;	    tPtr->firstVisible = 0;	    tPtr->visibleTabs = countVisibleTabs(tPtr, tPtr->firstVisible);	} else {	    tPtr->flags.dontFitAll = 0;	    tPtr->firstVisible = 0;	    tPtr->visibleTabs = tPtr->itemCount;	}    }}