PICARD-1852: Increase size of about dialog

Also show component versions comma separated. This makes the content more likely to fit into the dialog by default.
This commit is contained in:
Philipp Wolfer
2020-06-23 21:05:18 +02:00
parent d2d7e2e443
commit ad09572f28
3 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ class AboutDialog(PicardDialog, SingletonDialog):
else:
args["translator_credits"] = ""
args['third_parties_versions'] = '<br />'.join(["%s %s" %
args['third_parties_versions'] = ', '.join(["%s %s" %
(versions.version_name(name), value) for name, value
in versions.as_dict(i18n=True).items()
if name != 'version'])

View File

@@ -10,7 +10,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_AboutDialog(object):
def setupUi(self, AboutDialog):
AboutDialog.setObjectName("AboutDialog")
AboutDialog.resize(640, 430)
AboutDialog.resize(680, 480)
AboutDialog.setMinimumSize(QtCore.QSize(400, 300))
self.vboxlayout = QtWidgets.QVBoxLayout(AboutDialog)
self.vboxlayout.setContentsMargins(0, 0, 0, 0)
@@ -59,7 +59,7 @@ class Ui_AboutDialog(object):
self.scrollArea.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 640, 366))
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 680, 416))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout.setContentsMargins(9, 0, 9, 9)

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>430</height>
<width>680</width>
<height>480</height>
</rect>
</property>
<property name="minimumSize">
@@ -153,8 +153,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>366</height>
<width>680</width>
<height>416</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">