Tue, 20 Apr 2010 19:15:21 +0000
Changed formatting of the tags dialog a little bit.
Plugins/VcsPlugins/vcsMercurial/HgTagBranchListDialog.py | file | annotate | diff | comparison | revisions |
--- a/Plugins/VcsPlugins/vcsMercurial/HgTagBranchListDialog.py Sun Apr 18 15:39:19 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/HgTagBranchListDialog.py Tue Apr 20 19:15:21 2010 +0000 @@ -185,7 +185,11 @@ @param status of the tag/branch (string) @param name name of the tag/branch (string) """ - itm = QTreeWidgetItem(self.tagList, [revision, changeset, status, name]) + itm = QTreeWidgetItem(self.tagList, [ + "{0:>7}".format(revision), + changeset, + status, + name]) itm.setTextAlignment(0, Qt.AlignRight) itm.setTextAlignment(1, Qt.AlignRight) itm.setTextAlignment(2, Qt.AlignHCenter)