bluerobotics / ping-viewer

Ping Viewer is an open-source application to view and record data from the Blue Robotics Ping Echosounder and Ping360 Scanning Sonar.
https://docs.bluerobotics.com/ping-viewer/
GNU General Public License v3.0
40 stars 38 forks source link

Fix controls accessibility on small windows #996

Open ES-Alexander opened 2 years ago

ES-Alexander commented 2 years ago

Summary

Add minimum sizes and scrolling for controls when the application window is too small.

Additional information

Currently for too short windows the display controls get cut off and can't be accessed:

issue: cut off display controls

Similarly, for too narrow windows the device selection options get hidden behind text and become unclickable:

issue: cut off device selection window

It would be good if minimum sizes can be set for the elements of the controls displays (stop shrinking them if it would hide important info or make them unusable), and add scrolling for when the window gets too small to display a set of controls. It would also be possible to solve this by setting a minimum window size, but that could create issues for users wanting a small window during operation (when the controls have already been set).