REF: desktop-widgets/preferences/preferencesdialog.cpp
Greetings Subsurface,
New to the software but enjoying digging around in the source code wrt the PREFERENCES dialog. Been a while since I did CPP/Git so stumbling through it a bit.
Have UI issue where my [old] laptop has a max resolution of 1600x900 (at 100% scale) and as a result the Preferences dialog is too tall. Given the Min-Max-Scrollbar Windows Forms features were not implemented, it makes using that dialog difficult.
Luckily, the MOVE feature was implemented so at least the dialog can be shifted up to get to the buttonBox.
Am deducing the pagesList = new QListWidget(); is likely deciding the height of the dialog so my question is ... WHY IS THE pageList WIDGET SO TALL?? It only has eleven (11) items.
Now the MEDIA choice pageStack appears to be reason for the default size but maybe implementing a scrollbar in the pageStack widget so the overall size could be reduced.
Also noticed some slight variations in behavior when moving between each page and using the corner window resizer. For instance, some of the pageList items allow you to resize smaller than the initial default, so when you choose a pageList item with more content, that content is scrunched (e.g. Dive Log -> Media).
Just offering my $.02 but again, liking the software thus far ... OpenSource rocks!!!
LarryGinMO