radj307 / volume-control

Specific-Application Volume Control Hotkeys for Windows.
https://radj307.github.io/volume-control
GNU General Public License v3.0
78 stars 8 forks source link

Consistency for Main Form Sizing #83

Closed hl2guide closed 1 year ago

hl2guide commented 1 year ago

Please consider standardizing the form/window dimensions for all three tabs.

This would allow for better usage when the window is positioned to the right of the display.

example:

  1. launch the app
  2. align the window to the bottom right of the display
  3. change the tab to Hotkeys then Settings

Notice how it goes off-screen.

radj307 commented 1 year ago

Redesigning the entire main window would be the ideal solution, but that's a lot of work and I simply don't have enough free time to do that for the foreseeable future.

An alternative solution would be to just adjust the window's position when it resizes, like the notification windows already do. Using the exact same behaviour by default would be weird for a main window with lots of buttons, though, as you can see in this gif:
positioning
A naive solution would be to only adjust the position when the window goes off-screen, but that isn't ideal either since the window will become "stranded" when it gets smaller, like in this gif:
positioning2
(Note: The window is in the bottom-right corner of the screen in both GIFs)

I could easily add a setting to enable this behaviour for those that want it. Let me know what you think.

hl2guide commented 1 year ago

Redesigning the entire main window would be the ideal solution, but that's a lot of work and I simply don't have enough free time to do that for the foreseeable future.

An alternative solution would be to just adjust the window's position when it resizes, like the notification windows already do. Using the exact same behaviour by default would be weird for a main window with lots of buttons, though, as you can see in this gif: positioning positioning A naive solution would be to only adjust the position when the window goes off-screen, but that isn't ideal either since the window will become "stranded" when it gets smaller, like in this gif: positioning2 positioning2 (Note: The window is in the bottom-right corner of the screen in both GIFs)

I could easily add a setting to enable this behaviour for those that want it. Let me know what you think.

Thanks for the detailed reply for this. I think that the "adjust the window's position when it resizes" option is more feasible too and would love to see your app have this. 💓

radj307 commented 1 year ago

Implemented in 387e3a9fb86d6544ca3d93cb56195f8f7969fe9e

radj307 commented 1 year ago

This feature is now available in v6.0.3