mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
simplify about sizing
This commit is contained in:
parent
1fd7c244be
commit
b4f4e65c55
1 changed files with 3 additions and 4 deletions
|
@ -125,9 +125,8 @@ system. It's free and open source.")
|
|||
please get in touch.")
|
||||
abouttext += '<p>' + _("A big thanks to all the people who have provided \
|
||||
suggestions, bug reports and donations.")
|
||||
abt.label.setMinimumWidth(800)
|
||||
abt.label.setMinimumHeight(600)
|
||||
dialog.show()
|
||||
abt.label.stdHtml(abouttext, js=" ")
|
||||
def resizeAndShow(arg):
|
||||
dialog.adjustSize()
|
||||
dialog.show()
|
||||
abt.label.evalWithCallback("1", resizeAndShow)
|
||||
return dialog
|
||||
|
|
Loading…
Reference in a new issue