[英]detect the the title bar height for a window for different operating systems with javascript
要完全控制应用程序的窗口大小,请创建无边框的窗口,该窗口没有任何内置装饰,请自己绘制所有内容。
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create("window.html", {
frame: "none",
.............
});
});
chrome.app.window
API文档提供了一个示例应用程序 ,以下是屏幕截图:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.