Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/a/u/auto-resizing-text-edit-0.1.0/auto_resizing_text_edit/auto_resizing_text_edit.py   auto-resizing-text-edit(Download)
    def setMinimumLines(self, num_lines):
        """ Sets minimum widget height to a value corresponding to specified number of lines
            in the default font. """
 
        self.setMinimumSize(self.minimumSize().width(), self.lineCountToWidgetHeight(num_lines))