seantronsen / pvt

GNU General Public License v3.0
0 stars 0 forks source link

Window sizing / automatic sizing for the data display panes #33

Closed seantrons closed 5 months ago

seantrons commented 5 months ago

Earlier today, it was made apparent that the automatic window sizing doesn't function perfectly on all systems. The fault on this one is mine since I use a tiling window manager that automatically maximizes window as soon as they spawn, preventing it from coming up on my radar.

Look into and fix. At the very least, provide users with a way to manually specify the window sizing.

seantrons commented 5 months ago

Here is an example.

image

Notice how tiny the window is. This was taken using the library version that's up to date with the current HEAD commit on the main branch.

seantronsen commented 5 months ago

Automatic sizing has been ruled out as a feature for now (do ping this issue again if someone thinks it could be more worthwhile).

However, there is now support built-in for user specified main window sizing. An example of this is given below: image

See lines 131 and 132.

Fixed as of commit: e6b282d

Closing.

seantronsen commented 5 months ago

To add more detail, users may specify kwargs for their choice of viewer (which inherits from App) to set the window size, or call the resize method available on the viewer instance.

image