2011-01-20 62 views

回答

0

this頁面的例子中,他們只是在窗口中設置了create params「resizable:false」。

這些看起來是你想要做的最好的選擇。

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 
}); 
相關問題