def __applyVisibleDimensions( self ) :

		actualDimensions = len( self.getPlug() )
		visibleDimensions = Gaffer.Metadata.plugValue( self.getPlug(), "ui:visibleDimensions" )
		visibleDimensions = visibleDimensions if visibleDimensions is not None else actualDimensions

		for i in range( 0, actualDimensions ) :
			self.__row[i].setVisible( i < visibleDimensions )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/CompoundNumericPlugValueWidget.py/CompoundNumericPlugValueWidget.__applyVisibleDimensions/original