From b9a35684ac468740cb4c5c3d4fc607712249ceef Mon Sep 17 00:00:00 2001 From: RoyirinRosmontis Date: Mon, 24 Aug 2026 12:27:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD=EF=BC=9A?= =?UTF-8?q?=20-=20=E8=AE=BE=E7=BD=AE=E5=BC=B9=E7=AA=97=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E4=B8=8B=E5=9B=BA=E5=AE=9A=E6=98=BE=E7=A4=BA=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=88config.json=20=E7=9A=84=20v?= =?UTF-8?q?ersion=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lite/proxy_lite.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lite/proxy_lite.py b/lite/proxy_lite.py index 87db15a..fe1dc49 100644 --- a/lite/proxy_lite.py +++ b/lite/proxy_lite.py @@ -1415,7 +1415,7 @@ class SettingsDialog(QDialog): super().__init__(parent) self.setWindowTitle("设置") self.setWindowIcon(load_icon()) - self.setFixedSize(300, 290) + self.setFixedSize(300, 316) self.setStyleSheet(f""" QDialog {{ background-color: {C_BG}; }} QLabel {{ color: {C_TEXT}; font-family: "Microsoft YaHei", "Segoe UI", sans-serif; font-size: 12px; }} @@ -1438,6 +1438,12 @@ class SettingsDialog(QDialog): title.setAlignment(Qt.AlignCenter) layout.addWidget(title) + # 版本号:标题下固定显示 + ver_lab = QLabel(f"版本号: {VERSION}") + ver_lab.setStyleSheet(f"color: {C_SUBTEXT}; font-size: 11px;") + ver_lab.setAlignment(Qt.AlignCenter) + layout.addWidget(ver_lab) + # 提示语:标题正下方(保存结果/错误也显示在这行) self.lb_hint = QLabel("代理运行中,关闭代理后可修改" if port_locked else "保存更改后下次开启代理生效") self.lb_hint.setStyleSheet(f"color: {C_SUBTEXT}; font-size: 11px;")