ncssar / radiolog

SAR radio log program
Other
13 stars 3 forks source link

main window size limited to 2000x1000 #732

Open caver456 opened 4 months ago

caver456 commented 4 months ago

Pointed out previously; probably only noticed in R6 due to much-higher resolution. Confirmed 3-2-24 by looking at radiolog_rc.txt (w=2000 h=1000) after maxing out the window size.

It would be nice to be able to make the window bigger, but, at that resolution a larger window wouldn't actually help much.

Find out the source of the limitation, and then see if there's any reason to keep that limitation. Listing this as an enhancement rather than a bug, since it's gray-area and doesn't affect the functionality at all.

caver456 commented 4 months ago

Here's the immediate cause:

tom@TomZen:/mnt/c/Users/caver/Documents/GitHub/radiolog$ grep -r 2000 *
...
designer/radiolog.ui:    <width>2000</width>
...
ui/radiolog_ui.py:        Dialog.setMaximumSize(QtCore.QSize(2000, 1000))

Why is it set this way?

caver456 commented 4 months ago

Introduced in https://github.com/ncssar/radiolog/commit/581b5d80f5f84c182af9ea0b61f42e9d1825e684 Jan 22, 2023 - not sure why but probably something to do with attempts to improve tab bar scroll display