AIMP Forum

AIMP for Windows => Предложения / Suggestions => Topic started by: Dreamer on June 09, 2020, 18:00:31

Title: Playlist button to "maximize height only"
Post by: Dreamer on June 09, 2020, 18:00:31
This suggestion could be for any skin, or at least for Bliss 4K skin only.

Usually I just want to switch between small AIMP window with small playlist height and large playlist height, or maximized height only. I mean use maximum height, as desktop height, but preserve the window width. Currently I often resize the playlist manually.

Possible solutions (any of these would help):

- Add the new button "Maximize window/playlist height only" - to main window (next to standard maximize), or to Playlist title, next to tabs.
- Add option to use the Maximize button (of any playlist) to maximize height only.
- Add option to right click existing maximize button to maximize height only (for any skin, if possible).

For any of these solutions it's important to restore window height to previous size, so it would switch between small/saved height size and maximized height size.

Perhaps even layout toggle button, to switch between 2 different window sizes, small main window with or without playlist - and large main window and playlist window (different width and height). I don't need to maximize window, never, I just need to quickly switch between small and large window mode.

Thank you.

AIMP v4.60, build 2156, Windows 10 64-bit 1909.
Title: Re: Playlist button to "maximize height only"
Post by: Zhenya on June 09, 2020, 18:16:08
At least it can be done using custom skin (via scripts).
Title: Re: Playlist button to "maximize height only"
Post by: Dreamer on June 09, 2020, 19:09:02
Hm.. OK, I already had to edit the skin for minimal playlist height, so I could do it, but I'd need some help, could you explain how to do it, please?

I don't need the Maximize button at all, so this button could be used to toggle window height, but I need to switch between max. height and last used height, or even custom height, e.g. 300 and 1400 (size of main window + attached playlist). - Perhaps also double-click on title bar, currently it works as maximize window too.
Title: Re: Playlist button to "maximize height only"
Post by: Zhenya on June 10, 2020, 00:18:26
could you explain how to do it, please?

Pay attention to "MOD" custom provider in the attached skin.
But the window will change its height down. This can be circumvented using undocumented window properties (https://www.aimp.ru/forum/index.php?topic=27831.msg397001#msg397001).
Title: Re: Playlist button to "maximize height only"
Post by: Dreamer on June 10, 2020, 01:28:45
Thanks, it works exactly I need it, but only when using the "maximize" button, not when double-click the title bar, which is easier, how to change that?
Title: Re: Playlist button to "maximize height only"
Post by: Zhenya on June 18, 2020, 21:50:26
Thanks, it works exactly I need it, but only when using the "maximize" button, not when double-click the title bar, which is easier, how to change that?

Try the attachment.
Also added saving window position from the top edge of the screen.

Limitations:
1. You cannot move the window using the title bar.
2. After the first double click, you need to manually stretch the window in height.
3. The first cycle of using window maximization and restarting the program will most likely be unsuccessful. You will need to repeat the setup cycle a second time. I don’t know what to do with it. Then it should work fine.
Title: Re: Playlist button to "maximize height only"
Post by: Dreamer on June 19, 2020, 00:49:49
Thanks, but I need the title bar to move the window, it's more important than double-click, so I will be using previous version + changed minimal height of playlist.
Title: Re: Playlist button to "maximize height only"
Post by: Zhenya on June 19, 2020, 01:00:21
Thanks, but I need the title bar to move the window, it's more important than double-click

Unfortunately, this is not possible.
Title: Re: Playlist button to "maximize height only"
Post by: Hades on June 19, 2020, 16:07:22
Usually in windows you can double click on up or down margins of window to stretch it vertically w/o changing horizontal size, but it seems not to work in AIMP.