Skip to main content
Simplificando o título
Link
Icaro Martins
  • 4,3mil
  • 14
  • 24
  • 35

Remover quadrados gráficos da telacinzas do meu programa em Tkinter (Python)

Remover quadrados gráficos da tela em Tkinter - Programa Python(Python)

adicionou 108 caracteres ao conteúdo
Fonte Link
danieltakeshi
  • 4mil
  • 1
  • 17
  • 32

Eu gostaria de remover esses quadrados cinzas de meu programa.

Quadrados cinza

`from tkinter import * import datetime import time import pygame, sys, random

pygame.init() root = Tk() root.title("SISTEMA DE VENDAS") root.geometry('1366x768+0+0')

root.configure(background='yellow') FrameABC = Frame(root, bg="grey", bd=20, relief=RIDGE) FrameABC.grid()

#============================================================

lblDate = Label(FrameABC,text="\tSupermercados Rena\t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=CENTER).grid(row=0, column=0)

lblDate = Label(FrameABC,text="\tData: \t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=1, column=0)

lblDate = Label(FrameABC,text="\tHoras: \t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=2, column=0)

root.mainloop() `

from tkinter import *
import datetime
import time
import pygame, sys, random

pygame.init()
root = Tk()
root.title("SISTEMA DE VENDAS")
root.geometry('1366x768+0+0')

root.configure(background='yellow')
FrameABC = Frame(root, bg="grey", bd=20, relief=RIDGE)
FrameABC.grid()

#============================================================

lblDate = Label(FrameABC,text="\tSupermercados Rena\t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=CENTER).grid(row=0, column=0)

lblDate = Label(FrameABC,text="\tData: \t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=1, column=0)

lblDate = Label(FrameABC,text="\tHoras: \t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=2, column=0)


root.mainloop()

Eu gostaria de remover esses quadrados cinzas de meu programa.

Quadrados cinza

`from tkinter import * import datetime import time import pygame, sys, random

pygame.init() root = Tk() root.title("SISTEMA DE VENDAS") root.geometry('1366x768+0+0')

root.configure(background='yellow') FrameABC = Frame(root, bg="grey", bd=20, relief=RIDGE) FrameABC.grid()

#============================================================

lblDate = Label(FrameABC,text="\tSupermercados Rena\t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=CENTER).grid(row=0, column=0)

lblDate = Label(FrameABC,text="\tData: \t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=1, column=0)

lblDate = Label(FrameABC,text="\tHoras: \t",font=('arial',30,'bold'),padx=9, pady=9, bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=2, column=0)

root.mainloop() `

Eu gostaria de remover esses quadrados cinzas de meu programa.

Quadrados cinza

from tkinter import *
import datetime
import time
import pygame, sys, random

pygame.init()
root = Tk()
root.title("SISTEMA DE VENDAS")
root.geometry('1366x768+0+0')

root.configure(background='yellow')
FrameABC = Frame(root, bg="grey", bd=20, relief=RIDGE)
FrameABC.grid()

#============================================================

lblDate = Label(FrameABC,text="\tSupermercados Rena\t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=CENTER).grid(row=0, column=0)

lblDate = Label(FrameABC,text="\tData: \t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=1, column=0)

lblDate = Label(FrameABC,text="\tHoras: \t",font=('arial',30,'bold'),padx=9, pady=9,
    bd=14,bg="Cadet Blue",fg="Cornsilk", justify=LEFT).grid(row=2, column=0)


root.mainloop()
Fonte Link
Carregando