'@todo: docstring'

def alignBlock(self, block, blkCnt):

    if (block.action == 'rows'):
        widthShortfall = block.widthShortfall()
        self.alignRow(block, widthShortfall)
    else:
        heightShortfall = block.heightShortfall()
        widthShortfall = block.widthShortfall()
        self.alignCol(block, heightShortfall, widthShortfall)
