Commits

Yuya Nishihara committed b592c75

qscilib: use small icon for next/prev button of searchbar

Vertical space is precious here.

  • Participants
  • Parent commits 490d259

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qscilib.py

         self.addWidget(self._chk)
         self._wrapchk = QCheckBox(_('Wrap search'))
         self.addWidget(self._wrapchk)
-        self._btprev = QPushButton(_('Prev'), icon=qtlib.geticon('go-up'))
+        self._btprev = QPushButton(_('Prev'), icon=qtlib.geticon('go-up'),
+                                   iconSize=QSize(16, 16))
         self._btprev.clicked.connect(
             lambda: self._emitSearchRequested(forward=False))
         self.addWidget(self._btprev)
-        self._bt = QPushButton(_('Next'), icon=qtlib.geticon('go-down'))
+        self._bt = QPushButton(_('Next'), icon=qtlib.geticon('go-down'),
+                               iconSize=QSize(16, 16))
         self._bt.clicked.connect(self._emitSearchRequested)
         self._le.textChanged.connect(self._updateSearchButtons)
         self.addWidget(self._bt)