Little improvement to the Shelve Browser.

Sun, 02 Nov 2014 19:23:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Nov 2014 19:23:01 +0100
changeset 3908
3c5699886961
parent 3906
40896316d7ab
child 3909
354f4f62d507

Little improvement to the Shelve Browser.

Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py	Sun Nov 02 17:32:53 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py	Sun Nov 02 19:23:01 2014 +0100
@@ -362,6 +362,9 @@
         if current:
             for dataSet in current.data(0, self.__fileStatisticsRole):
                 QTreeWidgetItem(self.statisticsList, list(dataSet))
+            self.statisticsList.header().resizeSections(
+                QHeaderView.ResizeToContents)
+            self.statisticsList.header().setStretchLastSection(True)
             
             totals = current.data(0, self.__totalStatisticsRole)
             self.filesLabel.setText(

eric ide

mercurial