Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 2, 2020 10:07 pm GMT

Why won't my TKinter button text appear?

I'm making a button:

_StartButton = tk.Button(    _Display,    text="Actuate",    image=tk.PhotoImage( file="resources/icon.png" ),    width=TBW_rW*SCALE,    height=TBW_rH*SCALE,    bg=SETTINGS["personalization"]["taskbar-color"],    fg="white");_StartButton.place(    x=0+(5*SCALE),    y=SH-(35*SCALE));

and the text won't appear, the default taskbar color is blue.

Thanks!
Cheers!


Original Link: https://dev.to/calin92540842/why-won-t-my-tkinter-button-text-appear-4424

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To