Skip to content

Instantly share code, notes, and snippets.

@fnneves
Created July 16, 2019 23:04
Show Gist options
  • Select an option

  • Save fnneves/403f0d6aad23a7e38963c2d6f9831315 to your computer and use it in GitHub Desktop.

Select an option

Save fnneves/403f0d6aad23a7e38963c2d6f9831315 to your computer and use it in GitHub Desktop.
# three frames on top of each other
frame_header = tk.Frame(window, borderwidth=2, pady=2)
center_frame = tk.Frame(window, borderwidth=2, pady=5)
bottom_frame = tk.Frame(window, borderwidth=2, pady=5)
frame_header.grid(row=0, column=0)
center_frame.grid(row=1, column=0)
bottom_frame.grid(row=2, column=0)
# label header to be placed in the frame_header
header = tk.Label(frame_header, text = "FLIGHT SCRAPER TOOL", bg='grey', fg='black', height='3', width='50', font=("Helvetica 16 bold"))
# inside the grid of frame_header, place it in the position 0,0
header.grid(row=0, column=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment