Skip to content

Commit fbd83b4

Browse files
authored
Update Weather.py
Fixed the bug that the 5-day weather window didn't be shown correctly
1 parent 45bf2c8 commit fbd83b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Weather.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ def __init__(self, city):
375375
layout = QtWidgets.QHBoxLayout()
376376
self.setWindowTitle(f"五日天气 - {city}市")
377377
self.setLayout(layout)
378-
self.setFixedSize(800, 400)
379-
self.resize(800, 400)
378+
self.setFixedSize(1000, 400)
379+
self.resize(1000, 400)
380380
self.setWindowIcon(QtGui.QIcon("Weather.png"))
381381
font = QtGui.QFont()
382382
font.setPointSize(12)

0 commit comments

Comments
 (0)