Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable status: align left edges of toolbar and tree view

Changeset 9865fbdf0a00

Parent a4b8d7d2de08

by David Golub

Changes to one file · Browse files at 9865fbdf0a00 Showing diff from parent a4b8d7d2de08 Diff from another changeset...

 
35
36
37
 
 
 
 
 
 
 
 
 
38
39
40
 
90
91
92
93
 
94
95
96
 
119
120
121
 
122
123
124
 
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
99
100
101
 
102
103
104
105
 
128
129
130
131
132
133
134
@@ -35,6 +35,15 @@
   _colors = {}   +class Spacer(QWidget): + def __init__(self, width, height, parent=None): + QWidget.__init__(self, parent) + self.width = width + self.height = height + + def sizeHint(self): + return QSize(self.width, self.height) +  class StatusWidget(QWidget):   '''Working copy status widget   SIGNALS: @@ -90,7 +99,7 @@
  frame.setLayout(vbox)   hbox = QHBoxLayout()   hbox.setMargin(4) - hbox.setContentsMargins(2, 0, 0, 0) + hbox.setContentsMargins(0, 0, 0, 0)   self.refreshBtn = tb = QToolButton()   tb.setToolTip(_('Refresh file list'))   tb.setIcon(qtlib.geticon('view-refresh')) @@ -119,6 +128,7 @@
  self.filelistToolbar = QToolBar(_('Status File List Toolbar'))   self.filelistToolbar.setIconSize(QSize(16,16))   hbox.addWidget(self.filelistToolbar) + self.filelistToolbar.addWidget(Spacer(2, 2))   self.filelistToolbar.addWidget(self.checkAllNoneBtn)   self.filelistToolbar.addSeparator()   self.filelistToolbar.addWidget(le)