Closed Blakeinstein closed 2 years ago
The changes look fine, but this would definitely need to be implemented for mshtml also, for me to accept it. I am not sure but I think other platforms do not have any problems with borderless windows.
I was talking about the edges, and resizing in other platforms, I am confused how resizing works on mshtml, i will look into it first
I think a method to set the border width would be great.
I agree! But should that function do nothing on linux and mac?
Something like setWindowsBorderWidth could be an option.
The function name isnt a problem, I am wondering about what it would do on other platforms. Do you want me to make it useless on other platforms? Should I add my dragwindow function as well? So that you can have the window drageable?
This implements a border less frame, Currently I have a 2px margin for resizing and can implement a method to set the same. I have no idea how Mshtml implementation works now, the code is getting hard to understand...
I can create a seperate PR to also implement the DRAG_WINDOW method I use on https://github.com/Blakeinstein/Bloop along with cross-platform implements. I dont have testing platform for linux and macos anymore. So if anyone can tell me how frameless looks on the same, I will look into it aswell.
I have started this PR as a discussion platform first.