zlatinb / muwire

MuWire file sharing client for I2P
GNU General Public License v3.0
191 stars 27 forks source link

Feature request: Remember resizing #142

Open Searinox opened 2 years ago

Searinox commented 2 years ago

I mean this with priority to major separators and window size-related stuff, though would be nice if later on it also addresses table columns. Should save these values in the config file and attempt to resize itself when it's relaunched. If for some reason it can't(DPI changed size constraints, window out of bounds, lower screen resolution won't allow it etc.) it should revert either to default size or closest possible(minimum, maximum).

zlatinb commented 2 years ago

The main frame should already be remembering the resizing across restarts (properties mainFrameX and mainFrameY in gui.properties file). For modal dialogs like Options that can be done relatively easily, but for non-modal dialogs where you can create multiple instances of a window (for example compose message) I'm not sure where to pick the latest values from. Regarding separators I'll need to take a look. Table columns should definitely doable.

However overall I consider this low priority so I don't promise when it's going to be done.