Thursday, August 18, 2022

WBorder

 Been looking at the window border issue, in Windows10. 


Looks like I'm getting a border effect, like it or not; the window

needs to be demarcated. Then, I'm also getting 400 pixels to work

with, inside that border. See winfo.


To be noted: one must import ttk after tkinter itself for the switch to ttk

rules to happen. One needs to update the window before using winfo().


                                                           


                                                                             


                                                                         *     *     *
By the way, font size is measured in points; label size in pixels. there are 72 points

to an in inch, and the size of the font is measured from the top of the B  to the

lowest point of a bottom extension on the p. At font 20, that p should be 20/72 inches

and it is on my larger  'work' screen.


Pixels are another story. ppi - pixels per inch- depend on resolution. 85 was long a standard;

and the given pixels on my scteen eension matches that. In point of fact, my current computer 

boasts over 200 ppi...

                                                                    


                                                                        *     *     *



My pizza image is 30x34, here in a 50x50 label!

                                                                                

But can I move it up a tad, for effect ...

                                                                               

No comments: