mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-22 09:18:18 +00:00
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:
@@ -66,7 +66,7 @@ class AboutDialog(PicardDialog, SingletonDialog):
|
|||||||
else:
|
else:
|
||||||
args["translator_credits"] = ""
|
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
|
(versions.version_name(name), value) for name, value
|
||||||
in versions.as_dict(i18n=True).items()
|
in versions.as_dict(i18n=True).items()
|
||||||
if name != 'version'])
|
if name != 'version'])
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|||||||
class Ui_AboutDialog(object):
|
class Ui_AboutDialog(object):
|
||||||
def setupUi(self, AboutDialog):
|
def setupUi(self, AboutDialog):
|
||||||
AboutDialog.setObjectName("AboutDialog")
|
AboutDialog.setObjectName("AboutDialog")
|
||||||
AboutDialog.resize(640, 430)
|
AboutDialog.resize(680, 480)
|
||||||
AboutDialog.setMinimumSize(QtCore.QSize(400, 300))
|
AboutDialog.setMinimumSize(QtCore.QSize(400, 300))
|
||||||
self.vboxlayout = QtWidgets.QVBoxLayout(AboutDialog)
|
self.vboxlayout = QtWidgets.QVBoxLayout(AboutDialog)
|
||||||
self.vboxlayout.setContentsMargins(0, 0, 0, 0)
|
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.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||||
self.scrollArea.setObjectName("scrollArea")
|
self.scrollArea.setObjectName("scrollArea")
|
||||||
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
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.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
|
||||||
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
|
||||||
self.verticalLayout.setContentsMargins(9, 0, 9, 9)
|
self.verticalLayout.setContentsMargins(9, 0, 9, 9)
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>640</width>
|
<width>680</width>
|
||||||
<height>430</height>
|
<height>480</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@@ -153,8 +153,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>640</width>
|
<width>680</width>
|
||||||
<height>366</height>
|
<height>416</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
|||||||
Reference in New Issue
Block a user