@@ -89,6 +89,12 @@ class SliceAboutDialog(QDialog):
89
89
def __init__ (self , version ):
90
90
QDialog .__init__ (self )
91
91
92
+ self .setGeometry (0 , 0 , 375 , 425 )
93
+ rect = self .frameGeometry ()
94
+ centerCoord = QDesktopWidget ().availableGeometry ().center ()
95
+ rect .moveCenter (centerCoord )
96
+ self .move (rect .topLeft ())
97
+
92
98
self .setWindowTitle ("About Slice" )
93
99
self .setWindowIcon (QIcon (":/img/slice-icon.svg" ))
94
100
@@ -137,13 +143,14 @@ def __init__(self, version):
137
143
138
144
attributionTextField .setHtml (
139
145
f"<ul>"
140
- f"<li><p><small>< a href='https://www.riverbankcomputing.com/software/pyqt/'>PyQt5</a> GUI framework</small> </p></li>"
141
- f"<li><p><small>< a href='https://github.com/fonttools/fonttools'>fontTools</a> library (v{ fonttools_version } )</small> </p></li>"
142
- f"<li><p><small>< a href='https://www.recursive.design'>Recursive Sans typeface</a> by Stephen Nixon</small> </p></li>"
143
- f"<li><p><small>< a href='https://github.com/IBM/plex'>IBM Plex Mono typeface</a> by IBM</small> </p></li>"
146
+ f"<li><p><a href='https://www.riverbankcomputing.com/software/pyqt/'>PyQt5</a> GUI framework</p></li>"
147
+ f"<li><p><a href='https://github.com/fonttools/fonttools'>fontTools</a> library (v{ fonttools_version } )</p></li>"
148
+ f"<li><p><a href='https://www.recursive.design'>Recursive Sans typeface</a> by Stephen Nixon</p></li>"
149
+ f"<li><p><a href='https://github.com/IBM/plex'>IBM Plex Mono typeface</a> by IBM</p></li>"
144
150
f"</ul>"
145
151
)
146
- attributionTextField .setMaximumHeight (100 )
152
+ attributionTextField .setMaximumHeight (200 )
153
+ attributionTextField .setMinimumWidth (350 )
147
154
layout .addWidget (attributionTextField )
148
155
149
156
for i in range (0 , layout .count ()):
0 commit comments