From 74b1de9b3abafabf7bc64d30cf0487e06fb5893b Mon Sep 17 00:00:00 2001 From: xiaji Date: Thu, 22 Jan 2026 13:49:51 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E8=AE=A1=E6=97=B6?= =?UTF-8?q?=E5=99=A8=E7=AA=97=E5=8F=A3=E7=9A=84=E8=BE=B9=E8=B7=9D=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将右侧边距从200改为40,顶部边距从50改为30,使窗口位置更紧凑 --- countdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/countdown.py b/countdown.py index cc06437..17d726e 100644 --- a/countdown.py +++ b/countdown.py @@ -111,8 +111,8 @@ class TimerApp(QWidget): 'alarm_offset': 30, 'stay_on_top': True, 'opacity': 1.0, - 'right_margin': 200, # 距离右边缘 - 'top_margin': 50 # 距离上边缘 + 'right_margin': 40, # 距离右边缘 + 'top_margin': 30 # 距离上边缘 } self.remaining_time = 0 self.is_running = False