scott-vincent / instrument-panel

An instrument panel for Microsoft Flight Simulator 2020
170 stars 29 forks source link

Background resolution #9

Open Gaastragtx opened 3 years ago

Gaastragtx commented 3 years ago

Hi, congratulations on this great project. I tried to use it with 2 monitors, one FullHD and the other HDready. The program opens on the Fullhd monitor but when I press the M key to move it to the other monitor, the background resolution does not match the resolution of the HDready monitor. Is there any way to change the black background resolution? Thank you

scott-vincent commented 3 years ago

Ah yes, all my monitors are the same resolution so I can believe it doesn't work correctly with different resolution monitors as I've never tested it. I don't think it will be very difficult to fix it. Have a look at the code in instrument-panel.cpp line 282 there is the function called switchMonitor. This will just need a bit of tweaking. Sorry, I can't do it myself as I have no way to test it, my 3 monitors are all 1920x1080.

Gaastragtx commented 3 years ago

Thanks for the reply. Unfortunately, I'm not a programmer and I don't know where to start. I've tried looking at line 282 of the code but can't find anything I can modify without programming knowledge. I thought it might be as simple as the gauges placement settings. Thank you