I've a tkinter based project running on Raspberry pi.
It works fine except, whenever I use root.winfo_screenwidth()
method, it returns 1824
instead of 1980
. Same goes for height, ie, instead of returning 1080
, it returns 984
.
It works perfectly fine on my mac. Any idea, what am I missing here ?