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:
Wu Yi-Wei 2024-04-12 12:21:26 +08:00 committed by GitHub
parent 761780397b
commit 31439e325d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -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:

View file

@ -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
######################################################################