ui小修正,字体更改为黑体

This commit is contained in:
HCha
2023-02-16 00:22:52 +08:00
parent 6d7f241d3e
commit bbff63bbe5

View File

@@ -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: