Saturday, July 16, 2022

Lesson(2)


 Lesson 2 was about Label, which is what is used in the GUI to display text

or an image. What was confusing me were the layout managers. Here, we are

introduced to 2: pack() and place(). Pack is the easiest and works with top, bottom,

left and right. the coordinates are (0, 0) in the upper left-hand corner and place

works with those.


I have a borser on the image of 10, and it is raised. There is padding between the text

and the sides of the window, 20 pixrls on each of the x and y axis.


Nice touch to the series: if I go to the individual lesson YouTube video, the code

to the lesson is first thing in the comments section.

No comments: