Open JohnLouderback opened 9 years ago
Hm, CEF says it supports this, i've dug into the documentation and haven't seen anything that needs to be done to enable this. I'll dig a bit deeper and hopefully something might come about.
What frame styles are you using?
Currently I'm using the follow code to style my window on Windows:
require('Common');
var $ = process.bridge.dotnet;
var win = new Window();
var winChrome = new $.System.Windows.Shell.WindowChrome;
var winChromeGlassFrameThickness = new $.System.Windows.Thickness;
winChromeGlassFrameThickness.left = winChromeGlassFrameThickness.right = winChromeGlassFrameThickness.top = 0;
winChromeGlassFrameThickness.bottom = 1;
var winChromeResizeBorderThickness = new $.System.Windows.Thickness;
winChromeResizeBorderThickness.left = winChromeResizeBorderThickness.right = winChromeResizeBorderThickness.top = winChromeResizeBorderThickness.bottom = 5;
var winChromeCornerRad = new $.System.Windows.CornerRadius;
winChromeCornerRad.TopLeft = winChromeCornerRad.TopRight = winChromeCornerRad.BottomLeft = winChromeCornerRad.BottomRight = 2;
winChrome.CaptionHeight = 35;
winChrome.GlassFrameThickness = winChromeGlassFrameThickness;
winChrome.CornerRadius = winChromeCornerRad;
win.backgroundColor='gray';
win.visible = true;
However, even in the most minimal example of a window with no styles but the out of the box one, the -webkit-app-region: drag
does not work
The CSS property
-webkit-app-region: drag
does not appear to work as expect, currently as it does not appear to do anything. Can this be implemented or enabled?