Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

When the front-end program is the App Store, use the middle 1/3, unknown error after adjustment

Open DevLiuSir opened this issue 1 year ago • 2 comments

When the front-end program is the App Store, the window position is wrong after using the middle 1/3 adjustment.

iShot_2024-01-27_15 19 32

DevLiuSir avatar Jan 27 '24 07:01 DevLiuSir

This is due to a minimum size of the window being greater than 1/3 of your display. It would be possible to check the window size post-adjustment and center it if the window is not centered, but my preference is to leave it starting at x=1/3 of the display so that it tiles nicely with a window you could have placed at first 1/3. So, this is working as expected in this scenario despite it looking wrong.

rxhanson avatar Jan 27 '24 17:01 rxhanson

You can refer to the processing of magnet. When the width of the front window cannot be reduced, a pop-up window is used to inform the user. Cannot adjust to a narrower width. Then what is set is one-half of the current screen.

DevLiuSir avatar Jan 31 '24 01:01 DevLiuSir