Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map/Radar image size on "Maps" tab #4

Open
dlasher opened this issue Jul 11, 2018 · 2 comments
Open

Map/Radar image size on "Maps" tab #4

dlasher opened this issue Jul 11, 2018 · 2 comments

Comments

@dlasher
Copy link

dlasher commented Jul 11, 2018

Took some work, mostly around getting PIL happy, but got NRSC5-GUI running under Ubuntu 18 LTS. Audio plays, album-art works, external window radar/maps scaling and working just fine.

However, the views on the "Album Art" and "Maps" tabs are small. 20% of the window or so, centered, don't scale when the window is resized. Working as intended, or bug?

@cmnybo
Copy link
Owner

cmnybo commented Jul 11, 2018

The images are not intended to scale with the window size.
The album art is 200x200 pixels and should fill most of the window like in the screenshots.
Are you using user interface scaling or HiDPI mode?

I could make the images scale with window size, but the album art would get blurry when enlarged.

@dlasher
Copy link
Author

dlasher commented Jul 12, 2018

Thanks for the update. Spent some time thinking about it, and my initial assumption was that everything stayed inside the initial GUI window, and scaled, which would be nice in a single window model.

The way you've implemented it, with an external map viewer window, scales correctly, and better supports multi-monitor and/or large desktop layouts.

To avoid confusion, you might lock the initial NRSC5.GUI window to a specific size that includes non-scaled album art + track info, etc? Maybe include a menu option to unlock the window?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants