-
-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Description
Feature request
Sometimes a window is not intended to be resizeable, and force-resizing it with MoveWindow results in a bright white or black background in the areas of the app outside the intended UI.
The MoveWindow command currently allows you to "maximise" "minimise" or set a rectangle with comma separated numbers (or, percentages). I propose extending this to allow more control over the resizing.
Options:
- Allow the MoveWindow parameter to be only 2 numbers, to define
left, toprather thanleft, top, right, bottom. This would mean you have to specify upfront in your dynamic key whether you want resizing or not. - Change the current behaviour so that it first checks if the current window has
WS_THICKFRAMEstyle, which is a strong predictor of intended resizeability. Optionally add an optional boolean to the parameter string,left, top, right, bottom,forceResize=trueso that the existing behaviour doesn't change but you can opt-in to a more cautious version - Make it behave differently if the window is already in the intended
top,leftposition, so that you can have a 2 stage process - move it first, then resize it if you choose. Maybe this means parameterising it asresizeStrategy=force, soft, fit (shrink but don't grow), afterMove
@annakirkpatrick any thoughts?
Metadata
Metadata
Assignees
Labels
No labels