Changed formatting of the tags dialog a little bit.

Tue, 20 Apr 2010 19:15:21 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Apr 2010 19:15:21 +0000
changeset 190
fe256eb3d19f
parent 189
17bb2db7a347
child 191
dccb19a7c52e

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)

eric ide

mercurial