xfactor for scaling the x-coordinate of the window relative to monitor size
yfactor for scaling the y-coordinate of the window relative to monitor size
wfactor for scaling width of the window relative to monitor size
hfactor for scaling the height of the window relative to monitor size
Currently the factors do have to be in the range between 0% to 100%. This means that all coordinates/dimensions of the windows are changed. It is not possible with this function to move the window for example to the left border, keeping the current size of the window.
Expand the functionality to keep some factors constant!
Method movePercental() has four parameters:
Currently the factors do have to be in the range between 0% to 100%. This means that all coordinates/dimensions of the windows are changed. It is not possible with this function to move the window for example to the left border, keeping the current size of the window.
Expand the functionality to keep some factors constant!