inorton / EDMCHits

System safety reports for EDMC
34 stars 6 forks source link

Would like to edit this so the text is center screen on a 5760 x 1080 setup. #19

Open Phydeau opened 5 years ago

Phydeau commented 5 years ago

Greetings,

As I see there is still fairly recent activity on this hopefully asking in here might save me a lot of time digging through the code to find that for which I'm seeking.

I play E:D on a triple 1920 x 1080 setup. (running as a single 5760 x 1080 monitor) Hence, the text displayed from the overlay places it on my left side. I would like it centered as it should be.

I'm sure I just need to add 1920 to somewhere in the setup file, but I'm not finding it right away. I'm not a coder, even if I've done a fair bit of scripting in my day.

inorton commented 5 years ago

change the number 80, this "80 characters from the left" https://github.com/inorton/EDMCHits/blob/master/load.py#L86

Phydeau commented 5 years ago

OMG I suspected that was it while looking at this this morning. Wasn't sure because there seems to be a lot of column 80 lines. To be clear, those units are pixels, no?

Thank you so much

inorton commented 5 years ago

No worries, i might be able to make it a settings option

Phydeau commented 5 years ago

That would probably be a good move considering how popular triple monitor setups are becoming in the sim community.

Phydeau commented 5 years ago

Interestingly, it wasn't line 86 as you had suggested. Rather, editing the 80 on line 91 to 550 placed the messages generally in the center of my center monitor.

It took a bit of trial and error to arrive at the 550 number.

Thank you for pointing me in the right direction. It's always daunting to edit code or script when you are not familiar with the language specifically.