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: