Changeset 2afbe5d0467f…
Parent 4268fec8a0ff…
by
Changes to one file · Browse files at 2afbe5d0467f Showing diff from parent 4268fec8a0ff Diff from another changeset...
@@ -115,6 +115,9 @@ for c, w in enumerate(self._columnWidthHints()):
self.setColumnWidth(c, w)
+ def sizeHintForColumn(self, column):
+ return self._columnWidthHints()[column]
+
def _columnWidthHints(self):
"""Return list of recommended widths of all columns"""
model = self.model()
@@ -133,7 +136,7 @@ w = fontm.width(hglib.tounicode(str(w)) + 'w')
widths[c] = w
else:
- w = self.sizeHintForColumn(c)
+ w = super(HgRepoView, self).sizeHintForColumn(c)
widths[c] = w
col1_width -= widths[c]
col1_width = max(col1_width, 600)
|
Loading...