[英]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.