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

stable repoview: don't set a large value to min column width (backout 7bd689035bf9)

It brings unwanted horizontal scrollbar to repoview in some cases, notably
on "compare file revisions" window.

Changeset 160a5dcf07f6

Parent 2afbe5d0467f

by Yuya Nishihara

Changes to one file · Browse files at 160a5dcf07f6 Showing diff from parent 2afbe5d0467f Diff from another changeset...

 
139
140
141
142
 
143
144
145
 
139
140
141
 
142
143
144
145
@@ -139,7 +139,7 @@
  w = super(HgRepoView, self).sizeHintForColumn(c)   widths[c] = w   col1_width -= widths[c] - col1_width = max(col1_width, 600) + col1_width = max(col1_width, 100)   for c in range(model.columnCount(QModelIndex())):   if model._columns[c] in model._stretchs:   w = model._stretchs[model._columns[c]] / tot_stretch