Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable htmldelegate: don't limit sizeHint to the current rect

sizeHint() should provide the recommended size, not limited by the current
rect.

Changeset 3c1919f35bea

Parent b99f942c55e5

by Yuya Nishihara

Changes to one file · Browse files at 3c1919f35bea Showing diff from parent b99f942c55e5 Diff from another changeset...

 
50
51
52
53
54
55
56
 
50
51
52
 
53
54
55
@@ -50,7 +50,6 @@
    def sizeHint(self, option, index):   doc = self._builddoc(option, index) - doc.setTextWidth(option.rect.width())   return QSize(doc.idealWidth() + 5, doc.size().height())     def _builddoc(self, option, index):