(self, size, font)
Setup size and font of the completion widget.
Setup size and font of the completion widget.
Setup size and font of the completion widget .
def setup_appearance(self, size, font):
        """Setup size and font of the completion widget."""
        self.resize(*size)
        self.setFont(font)
        fm = QFontMetrics(font)
        self.item_height = fm.height()
def setup_appearance ( self , size , font ) : self . resize ( * size ) self . setFont ( font ) fm = QFontMetrics ( font ) self . item_height = fm . height ( )