Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

status: remove top margin of status widget

instead add margin when embedding it in the dialog.

Changeset 1c1a3918b6ad

Parent 9cbd89ea73bd

by Adrian Buehlmann

Changes to one file · Browse files at 1c1a3918b6ad Showing diff from parent 9cbd89ea73bd Diff from another changeset...

 
92
93
94
95
 
96
97
98
 
162
163
164
165
 
166
167
168
 
718
719
720
721
 
722
723
724
 
92
93
94
 
95
96
97
98
 
162
163
164
 
165
166
167
168
 
718
719
720
 
721
722
723
724
@@ -92,7 +92,7 @@
  frame.setSizePolicy(sp)   frame.setLayout(vbox)   hbox = QHBoxLayout() - hbox.setContentsMargins (5, 7, 0, 0) + hbox.setContentsMargins (5, 0, 0, 0)   lbl = QLabel(_('Filter:'))   le = QLineEdit()   pb = QPushButton(_('MAR!?IC')) # needs a better label @@ -162,7 +162,7 @@
  docf.setLayout(vbox)   self.docf = docf   hbox = QHBoxLayout() - hbox.setContentsMargins (5, 7, 0, 0) + hbox.setContentsMargins (5, 0, 0, 0)   self.fnamelabel = QLabel()   self.fnamelabel.setContextMenuPolicy(Qt.CustomContextMenu)   self.connect(self.fnamelabel, @@ -718,7 +718,7 @@
  def __init__(self, pats, opts, parent=None):   QDialog.__init__(self, parent)   layout = QVBoxLayout() - layout.setMargin(0) + layout.setContentsMargins(0, 6, 0, 0)   self.setLayout(layout)   self.stwidget = StatusWidget(pats, opts, None, self)   layout.addWidget(self.stwidget, 1)