Preflight Checklist
Electron Version
42.0.0-beta.7
What operating system(s) are you using?
Windows
Operating System Version
Win10
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
Resize area should start right at the edge of the content area
Actual Behavior
Resize area starts within the content area
Testcase Gist URL
No response
Additional Information
Related: #50706
Corrects the placement of resize hit targets for frameless windows on Windows, which are supposed to be outside the window at the sides and bottom, not inset into the web content.
When I create a simple window
const mainWindow1 = new BrowserWindow({
x: 0,
y: 0,
width: 1000,
height: 600,
show: true,
frame: false,
});
I can still see a few pixels of resize area being within the content area. The area does go outside of the window but starts within the content area.
Is this intended?
@mitchchn
Preflight Checklist
Electron Version
42.0.0-beta.7
What operating system(s) are you using?
Windows
Operating System Version
Win10
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
Resize area should start right at the edge of the content area
Actual Behavior
Resize area starts within the content area
Testcase Gist URL
No response
Additional Information
Related: #50706
When I create a simple window
I can still see a few pixels of resize area being within the content area. The area does go outside of the window but starts within the content area.
Is this intended?
@mitchchn