(self, widget)
Handles cell height changed
Handles cell height changed
Handles cell height changed
def on_cellheight_value_changed(self, widget):
        """Handles cell height changed"""
        value = widget.get_value()
        value = round(float(value), 1)
        if value > 2.0:
            value = 2.0
        self.config['cell_height'] = value
        self.config.save()
        guiget = self.builder.get_object
        label_widget = guiget('cellheight_value_label')
        label_widget.set_text(str(value))
def on_cellheight_value_changed ( self , widget ) : value = widget . get_value ( ) value = round ( float ( value ) , 1 ) if value > 2.0 : value = 2.0 self . config [ 'cell_height' ] = value self . config . save ( ) guiget = self . builder . get_object label_widget = guiget ( 'cellheight_value_label' ) label_widget . set_text ( str ( value ) )