-1

I have recently started learning tkinter. My code exceeds the display limit, and there is no scrollbar to scroll. How do I add one to my code?

DatBoi
  • 99
  • 4

1 Answers1

0

Look at these two lines of code.

scrollbar = Scrollbar(root)
scrollbar.pack( side = RIGHT, fill = Y )

These two lines of code create the scrollbar and then packs it into the window. The side tells which side it is supposed to be located and the fill fills the y-axis.

The Laggy Tablet
  • 100
  • 1
  • 11