Joelzeller / CoPilot

Raspberry Pi powered in-car infotainment system
http://joelzeller.wixsite.com/copilot
121 stars 38 forks source link

Doesn't display right on monitor #5

Open paulemurray opened 6 years ago

paulemurray commented 6 years ago

Using a Raspberry Pi 3 onto my monitor (2560x180 resolution but it's running at 1920x1080) it looks like it's not loading right. Happens when running in and out of developer mode.

(Sorry it's vertical, I don't know why that happens) 20180223_175048

Joelzeller commented 6 years ago

Hi Paul,

It looks like this because CoPilot was designed to run at 800x480 resolution (for the official rpi touchscreen).

The code has a section that changes the window size to the appropriate 800x480 pixels. Make sure that this is not commented out and developer mode is set to 1.

Also, don't full size the window after the GUI has started, as it will look distorted and stretched out.

Let me know if this helps!

Joel Z

paulemurray commented 6 years ago

I commented out the line Window.size = (800, 480) because with it uncommented it throws the error TypeError: create_window() takes exactly 1 argument (2 given)