When launching with -x -y -width -height the horizontal values don't work out (y values are fine).
-x 0 doesn't place the window on the left edge, and items that should be flush have a large gap between.
You can test that with these two commands which ought to place a window top-left and a second on its right (touching) -
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x 0 -y 0 -width 500 -height 500 -no-maximize
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x 500 -y 0 -width 500 -height 500 -no-maximize
Hopefully something easy to correct?
Cheers!
Command Line / x & width shortfall
Re: Command Line / x & width shortfall
OS?
Looks good on my end, Win7.
Other OS might ? use an "offset", so maybe you might need something like -4,-4 or whatnot?
.
It might be something similar to, https://github.com/dotnet/winforms/issu ... 1227637666.
Looks good on my end, Win7.
Other OS might ? use an "offset", so maybe you might need something like -4,-4 or whatnot?
.
It might be something similar to, https://github.com/dotnet/winforms/issu ... 1227637666.
Re: Command Line / x & width shortfall
There's hidden borders on windows 10+.
Please add a border offset (7 pixels) to your command line:
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x -7 -y 0 -width 514 -height 507 -no-maximize
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x 493 -y 0 -width 514 -height 507 -no-maximize
Please note you will be unable to grab the window edge where the hidden border overlaps.
Please add a border offset (7 pixels) to your command line:
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x -7 -y 0 -width 514 -height 507 -no-maximize
"C:\Program Files\Everything 1.5a\Everything64.exe" -new-window -x 493 -y 0 -width 514 -height 507 -no-maximize
Please note you will be unable to grab the window edge where the hidden border overlaps.
-
- Posts: 498
- Joined: Thu Dec 15, 2016 9:44 pm
Re: Command Line / x & width shortfall
Thanks - I was envisaging offsetting it in the meanwhile.
To make them meet just by adjusting the left hand window is to use -x -7 on the left as you suggest, but +23 to the width instead of +14.
d
To make them meet just by adjusting the left hand window is to use -x -7 on the left as you suggest, but +23 to the width instead of +14.
d