JBildstein / SpiderEye

Cross platform .Net Core applications with a webview UI
Apache License 2.0
217 stars 22 forks source link

Hide controlBox and border feature #18

Closed nguyenvanbien95 closed 4 years ago

nguyenvanbien95 commented 4 years ago

Describe the feature you'd like A clear and concise description of the feature you'd like to have. I want to remove border and control box.

Reason for this feature request A clear and concise description of the reason(s) for this feature request. In some case, application is developed for Rasberry Pi. Pi has a touch monitor, and my user don't be closed program.

JBildstein commented 4 years ago

I'll look into it. I think all OS support it but I need to check the specific APIs.

Do you actually need windows without borders or do you need fullscreen windows?

nguyenvanbien95 commented 4 years ago

Yeah, I actually need fullscreen windows.

bddckr commented 4 years ago

If those APIs allow to toggle this behavior, that would be great, too! I can see the need to do a regular fullscreen view for video playing and the likes.

nguyenvanbien95 commented 4 years ago

If those APIs allow to toggle this behavior, that would be great, too! I can see the need to do a regular fullscreen view for video playing and the likes. Hey @bddckr Do you play video of youtube on webview on linux? My video have no sound. Can you help me?

JBildstein commented 4 years ago

sounds good! I wanted to improve the minimize/maximize behavior of windows for a while so that fits well into that.

bddckr commented 4 years ago

@nguyenvanbien95 No I do not, and a separate issue is most likely better for that to get someone who can help 🤞

nguyenvanbien95 commented 4 years ago

@bddckr I had done that. Thank you.

JBildstein commented 4 years ago

It's implemented now. The Window class now contains:

and the SetWindowState method has been removed.

This now matches how many OS native methods are implemented and allows more fine grained control over the sizing behavior.