Javascript 是否有使Appcelerator桌面应用程序窗口固定大小的属性?
我在API文档中找不到使Appcelerator桌面应用程序窗口具有固定大小的属性。换句话说,我不希望用户能够调整窗口的大小 有人知道这样的属性是否存在吗?在第页的示例中,他们刚刚在窗口中设置了create params“resizeable:false” 这些看起来是你想要做的事情的最佳选择Javascript 是否有使Appcelerator桌面应用程序窗口固定大小的属性?,javascript,appcelerator,Javascript,Appcelerator,我在API文档中找不到使Appcelerator桌面应用程序窗口具有固定大小的属性。换句话说,我不希望用户能够调整窗口的大小 有人知道这样的属性是否存在吗?在第页的示例中,他们刚刚在窗口中设置了create params“resizeable:false” 这些看起来是你想要做的事情的最佳选择 maximizable: true||false minimizable: true||false closeable: true||false resizable: true||false f
maximizable: true||false
minimizable: true||false
closeable: true||false
resizable: true||false
fullscreen: true||false
下面是一个使用所有选项的调用
Titanium.UI.createWindow({
id: "propertyWindow",
url: "app://second_page.html",
title: "My New Window",
contents: "<html>foo!</html>"
baseURL: "app://page_url"
x: 300,
y: 400,
width: 500,
minWidth: 500,
maxWidth: 500,
height: 500,
minHeight: 500,
maxHeight: 500,
maximizable: true,
minimizable: true,
closeable: true,
resizable: true,
fullscreen: false,
maximized: false,
minimized: false,
usingChrome: true,
topMost: false,
visible: true,
transparentBackground: false,
transparency: false
});
tianium.UI.createWindow({
id:“propertyWindow”,
url:“app://second_page.html",
标题:“我的新窗口”,
内容:“福!”
基本URL:“app://page_url"
x:300,
y:400,
宽度:500,
最小宽度:500,
最大宽度:500,
身高:500,
身高:500,
最大高度:500,
最大化:是的,
可最小化:是的,
可接近的:是的,
可调整大小:正确,
全屏:假,
最大化:错误,
错,,
使用chrome:true,
最上面的:错,
可见:对,
透明背景:错误,
透明度:错误
});