don't calculate labelWidth if showLabels is false