mirror of
https://github.com/HChaZZY/Random-Picker.git
synced 2025-12-06 10:33:50 +08:00
ui小修正,字体更改为黑体
This commit is contained in:
12
点名器.pyw
12
点名器.pyw
@@ -398,15 +398,15 @@ try:
|
|||||||
|
|
||||||
logs("DEBUG","设置GUI控件样式")
|
logs("DEBUG","设置GUI控件样式")
|
||||||
startramdonStyle=Style()
|
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=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=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=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=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","设置控件变量连接")
|
logs("DEBUG","设置控件变量连接")
|
||||||
startrandom = Button(gui, text = "立刻摇人!", command = choose, style="SR.TButton")
|
startrandom = Button(gui, text = "立刻摇人!", command = choose, style="SR.TButton")
|
||||||
@@ -432,7 +432,7 @@ try:
|
|||||||
name_label.place(relx=0.05,rely=0.05)
|
name_label.place(relx=0.05,rely=0.05)
|
||||||
listbox.place(relx=0.7,rely=0,width=150,height=104)
|
listbox.place(relx=0.7,rely=0,width=150,height=104)
|
||||||
startrandom.place(relx=0,rely=0.7375,height=37)
|
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)
|
scrool.place(relx=0.965,rely=0,height=104)
|
||||||
|
|
||||||
if topmost:
|
if topmost:
|
||||||
|
|||||||
Reference in New Issue
Block a user