This is the window content
A window is built of multiple key components, you need for almost all of your desktop applications. The frame, header, header toolbar, content, footer.
If you use electron, you need to make sure the electron window is rendering without borders. You do this by setting to titleBarStyle to none. To work correctly, this library requires you to set certain window options correctly. Following is an example:
win = new BrowserWindow({ center: true, width: 750, height: 750, vibrancy: 'window', transparent: true, //necessary for vibrancy fix on macos backgroundColor: "#80FFFFFF", //necessary for vibrancy fix on macos webPreferences: { scrollBounce: true, allowRunningInsecureContent: false, preload: __dirname + '/../../node_modules/@deepkit/desktop-ui/preload.js', nativeWindowOpen: true, }, titleBarStyle: 'hidden', icon: path.join(assetsPath, 'icons/64x64.png') });
<dui-window>
(source)<dui-window-content>
(source)<dui-window-header>
(source)<dui-window-toolbar>
(source)<dui-window-sidebar>
(source)<dui-window-footer>
(source)WindowState
(source)WindowRegistry
(source)