cmnybo / nrsc5-gui

A graphical interface for nrsc5
56 stars 21 forks source link

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

Open dlasher opened 6 years ago

dlasher commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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?