def set_value(self, value):
        """The value have to be in the form '10px' or '10%', so numeric value plus measure unit 
        """
        v = 0
        measure_unit = 'px'
        try:
            v = int(float(value.replace('px', '')))
        except ValueError:
            try:
                v = int(float(value.replace('%', '')))
                measure_unit = '%'
            except __HOLE__:
                pass                
        self.numInput.set_value(v)
        self.dropMeasureUnit.set_value(measure_unit)
dataset/ETHPy150Open dddomodossola/remi/editor/editor_widgets.py/CssSizeInput.set_value