def alignCol(self, block, heightShortfall, widthShortfall):

        # Stretch the columns to fill the maximum width
        for widget in block.widgetList:
            widgetWidth = block.startPosn[1] + widget.getMatrixSize()[1]
            widthShortfall = block.growToWidth - widgetWidth
            # Now grow the columns to align evenly
            if widthShortfall == 0:
                continue
            if widget.canGrowHorizontal():
                widget.growHorizontal(widthShortfall)
            else:
                widget.addToHorizontalMargin(widthShortfall)
        # Now grow the rows to align evenly
        if heightShortfall == 0:
            return
        # See if the widgets can grow
        canGrowCount = 0
        for widget in block.widgetList:
            if widget.canGrowVertical():
                canGrowCount += 1
        if canGrowCount > 0:
            growBy = heightShortfall / canGrowCount
            if growBy > 0:
                for widget in block.widgetList:
                    if widget.canGrowVertical():
                        widget.growVertical(growBy)
                        heightShortfall -= growBy
        # Add any unallocated space as margins between the widgets
        if heightShortfall > 0:
            marginGrow = heightShortfall / len(block.widgetList)
            if marginGrow > 0:
                for widget in block.widgetList:
                    widget.addToVerticalMargin(marginGrow)
                    heightShortfall -= marginGrow
        if heightShortfall > 0:
            for widget in block.widgetList:
                widget.addToVerticalMargin(1)
                heightShortfall -= 1
                if heightShortfall == 0:
                    break

# =============================================================================
Return a value from this :class:`.Context`.
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/survey_LayoutBlocks.alignCol--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/mako/runtime.py/Context.get