marcomq / nimview

A Nim/Webview based helper to create Desktop/Server applications with Nim/C/C++ and HTML/CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make windows frameless

twnlink opened this issue · comments

Being able to build my own window controls and disable native ones is a big part of any GUI framework I end up using, but I did not see a way in Nimview to make a window frameless.

Hi!
There are some limitations, as nimview uses webview as library to render everything. And the nim webview version also doesn't seem to be the latest one, so there might also be some features missing that are available in the latest version.

There is already an issue in webview repo for this:
webview/webview#97

I just added some borderless mode for linux
setBorderless
Didn't had time yet to test it yet. but it is implemented according to the documentation and it also seems to compile in the automated tests