def adjustWidthToMin(self, minWidth):
        if minWidth>self.paddedRect.width():
            diff = minWidth - self.paddedRect.width() + 1
            self.paddedRect.adjust(-diff/2, 0, diff/2, 0)
Validates that a specified value is valid for this trait.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/pipeline_view.py/QGraphicsModuleItem.adjustWidthToMin--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_types.py/BaseDirectory.validate