mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Add Margins on the Buttons on the About Page (#3137)
* Add Margins on the Buttons on the About Page * Fix contributors * Fix format
This commit is contained in:
parent
761780397b
commit
31439e325d
2 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,7 @@ ijqq <ijqq@protonmail.ch>
|
|||
AntoineQ1 <https://github.com/AntoineQ1>
|
||||
jthulhu <https://github.com/jthulhu>
|
||||
Escape0707 <tothesong@gmail.com>
|
||||
Wu Yi-Wei <https://github.com/Ianwu0812>
|
||||
********************
|
||||
|
||||
The text of the 3 clause BSD license follows:
|
||||
|
|
|
@ -43,6 +43,8 @@ def show(mw: aqt.AnkiQt) -> QDialog:
|
|||
qconnect(btn.clicked, on_copy)
|
||||
abt.buttonBox.addButton(btn, QDialogButtonBox.ButtonRole.ActionRole)
|
||||
abt.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setFocus()
|
||||
btnLayout = abt.buttonBox.layout()
|
||||
btnLayout.setContentsMargins(12, 12, 12, 12)
|
||||
|
||||
# WebView cleanup
|
||||
######################################################################
|
||||
|
|
Loading…
Reference in a new issue