mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Merge branch 'master' of https://github.com/hssm/anki
This commit is contained in:
commit
4c7a1a2af7
1 changed files with 1 additions and 0 deletions
|
@ -1781,6 +1781,7 @@ class FavouritesLineEdit(QLineEdit):
|
|||
frameWidth = self.style().pixelMetric(QStyle.PM_DefaultFrameWidth)
|
||||
self.button.move(self.rect().right() - frameWidth - buttonSize.width(),
|
||||
(self.rect().bottom() - buttonSize.height() + 1) / 2)
|
||||
self.setTextMargins(0, 0, buttonSize.width() * 1.5, 0)
|
||||
super(FavouritesLineEdit, self).resizeEvent(event)
|
||||
|
||||
def setIcon(self, path):
|
||||
|
|
Loading…
Reference in a new issue