simplify about sizing

This commit is contained in:
Damien Elmes 2018-10-25 15:47:17 +10:00
parent 1fd7c244be
commit b4f4e65c55

View file

@ -125,9 +125,8 @@ system. It's free and open source.")
please get in touch.") please get in touch.")
abouttext += '<p>' + _("A big thanks to all the people who have provided \ abouttext += '<p>' + _("A big thanks to all the people who have provided \
suggestions, bug reports and donations.") suggestions, bug reports and donations.")
abt.label.setMinimumWidth(800)
abt.label.setMinimumHeight(600)
dialog.show()
abt.label.stdHtml(abouttext, js=" ") abt.label.stdHtml(abouttext, js=" ")
def resizeAndShow(arg):
dialog.adjustSize()
dialog.show()
abt.label.evalWithCallback("1", resizeAndShow)
return dialog return dialog