【发布时间】:2022-11-14 07:12:09
【问题描述】:
我尝试了很多方法,但找不到解决问题的方法 我想把文字背景透明
#背景为黑色的文本
Download=Label(root,text="00",font="calibri 40 bold",bg="#000000",fg="white")
Download.place(x=320,y=261,anchor="center")
我想把黑色背景变成透明背景
我想把黑色文字背景变成透明背景
【问题讨论】:
-
你用的是什么图书馆?也许
Label接受alpha或transparency参数? -
我正在使用,tkinter,线程,PIL,speedtest
-
它不起作用,因为它是文本而不是图像
-
tkinter
Label不支持透明背景。