From bbff63bbe579430c6a8dfaffb9c775306f784ddd Mon Sep 17 00:00:00 2001 From: HCha Date: Thu, 16 Feb 2023 00:22:52 +0800 Subject: [PATCH] =?UTF-8?q?ui=E5=B0=8F=E4=BF=AE=E6=AD=A3=EF=BC=8C=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E6=9B=B4=E6=94=B9=E4=B8=BA=E9=BB=91=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 点名器.pyw | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/点名器.pyw b/点名器.pyw index 59ac3a7..b828633 100644 --- a/点名器.pyw +++ b/点名器.pyw @@ -398,15 +398,15 @@ try: logs("DEBUG","设置GUI控件样式") startramdonStyle=Style() - startramdonStyle.configure("SR.TButton", font = ("宋体", 17, "bold"), foreground = "red", background = "white",width=29,relief="flat") + startramdonStyle.configure("SR.TButton", font = ("黑体", 17, "bold"), foreground = "red", background = "white",width=29,relief="flat",highlightthickness = 0, bd = 0,pady=0, padx=0) setclassStyle=Style() - setclassStyle.configure("SC.TButton", font = ("宋体", 17), background = "white",height="20",width=13,relief="flat") + setclassStyle.configure("SC.TButton", font = ("黑体", 15), background = "white",relief="flat",highlightthickness = 0, bd = 0,pady=0, padx=0) namelabelStyle=Style() - namelabelStyle.configure("NL.TLabel", font = ("宋体", 30, "bold"), background = "white", foreground = "blue",width=15,anchor="center") + namelabelStyle.configure("NL.TLabel", font = ("黑体", 30, "bold"), background = "white", foreground = "blue",width=15,anchor="center") classlabelStyle=Style() - classlabelStyle.configure("CL.TLabel", font = ("宋体", 15), background = "white",width=20,anchor="center") + classlabelStyle.configure("CL.TLabel", font = ("黑体", 15), background = "white",width=20,anchor="center") subjectlabelStyle=Style() - subjectlabelStyle.configure("SL.TLabel", font = ("宋体", 15), background = "white",width=20,anchor="center") + subjectlabelStyle.configure("SL.TLabel", font = ("黑体", 15), background = "white",width=20,anchor="center") logs("DEBUG","设置控件变量连接") startrandom = Button(gui, text = "立刻摇人!", command = choose, style="SR.TButton") @@ -432,7 +432,7 @@ try: name_label.place(relx=0.05,rely=0.05) listbox.place(relx=0.7,rely=0,width=150,height=104) startrandom.place(relx=0,rely=0.7375,height=37) - setclass.place(relx=0.7,rely=0.7375,height=37) + setclass.place(relx=0.7,rely=0.7375,height=37,width=164.5) scrool.place(relx=0.965,rely=0,height=104) if topmost: