mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
set fixed button height for win32
This commit is contained in:
parent
177ab82ed1
commit
99f9f9cc40
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,7 @@ class FactEditor(object):
|
|||
self.foreground.setFocusPolicy(Qt.NoFocus)
|
||||
self.foreground.setEnabled(False)
|
||||
self.foreground.setFixedWidth(30)
|
||||
self.foreground.setFixedHeight(26)
|
||||
self.foregroundFrame = QFrame()
|
||||
self.foregroundFrame.setAutoFillBackground(True)
|
||||
hbox = QHBoxLayout()
|
||||
|
@ -190,6 +191,7 @@ class FactEditor(object):
|
|||
self.more.setFocusPolicy(Qt.NoFocus)
|
||||
self.more.setEnabled(False)
|
||||
self.more.setFixedWidth(30)
|
||||
self.more.setFixedHeight(26)
|
||||
self.iconsBox.addWidget(self.more)
|
||||
self.more.setStyle(self.plastiqueStyle)
|
||||
# preview
|
||||
|
@ -217,6 +219,7 @@ class FactEditor(object):
|
|||
self.cloze.setToolTip(_("Cloze (F6)"))
|
||||
#self.cloze.setIcon(QIcon(":/icons/document-cloze.png"))
|
||||
self.cloze.setFixedWidth(30)
|
||||
self.cloze.setFixedHeight(26)
|
||||
self.cloze.setText("(...)")
|
||||
self.cloze.setFocusPolicy(Qt.NoFocus)
|
||||
self.cloze.setEnabled(False)
|
||||
|
|
Loading…
Reference in a new issue