'Adjust the completion size and scroll when it\'s freshly shown.'

def showEvent(self, e):

    self.update_geometry.emit()
    scrollbar = self.verticalScrollBar()
    if (scrollbar is not None):
        scrollbar.setValue(scrollbar.minimum())
    super().showEvent(e)
