From 4afb810078aca8bef4e5bcc819e26aa08d34c0df Mon Sep 17 00:00:00 2001 From: RoyirinRosmontis Date: Mon, 24 Aug 2026 12:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20-=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=BC=B9=E7=AA=97=E6=8F=90=E7=A4=BA=E8=AF=AD=E7=A7=BB?= =?UTF-8?q?=E5=88=B0"=E8=AE=BE=E7=BD=AE"=E6=A0=87=E9=A2=98=E6=AD=A3?= =?UTF-8?q?=E4=B8=8B=E6=96=B9=EF=BC=88=E4=BF=9D=E5=AD=98=E7=BB=93=E6=9E=9C?= =?UTF-8?q?/=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E5=90=8C=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E6=98=BE=E7=A4=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lite/proxy_lite.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lite/proxy_lite.py b/lite/proxy_lite.py index bcd03c7..97f371e 100644 --- a/lite/proxy_lite.py +++ b/lite/proxy_lite.py @@ -1424,6 +1424,13 @@ class SettingsDialog(QDialog): title.setAlignment(Qt.AlignCenter) layout.addWidget(title) + # 提示语:标题正下方(保存结果/错误也显示在这行) + self.lb_hint = QLabel("代理运行中,关闭代理后可修改" if port_locked else "保存更改后下次开启代理生效") + self.lb_hint.setStyleSheet(f"color: {C_SUBTEXT}; font-size: 11px;") + self.lb_hint.setFixedHeight(14) + self.lb_hint.setAlignment(Qt.AlignCenter) + layout.addWidget(self.lb_hint) + layout.addStretch() # 设置项在空白部分纵向居中(上下均分) # 代理转发端口 @@ -1451,13 +1458,6 @@ class SettingsDialog(QDialog): layout.addStretch() - # 提示语:按钮上方居中 - self.lb_hint = QLabel("代理运行中,关闭代理后可修改" if port_locked else "保存更改后下次开启代理生效") - self.lb_hint.setStyleSheet(f"color: {C_SUBTEXT}; font-size: 11px;") - self.lb_hint.setFixedHeight(14) - self.lb_hint.setAlignment(Qt.AlignCenter) - layout.addWidget(self.lb_hint) - # 底部:保存更改 + 退出登录 并排 btns = QHBoxLayout() btns.setSpacing(10)