[英]Titanium Alloy - Change properties of dynamically generated ListView elements
[英]Titanium Alloy SplitWindow IOS strange behavior change width
<SplitWindow id="home" platform="ios" formFactor="tablet">
<Require src="master" id="master"/>
<Require src="detail" id="detail"/>
</SplitWindow>
如果我水平拖動兩個窗口之間的black separation line
我會有一種strange behavior
。 窗戶改變大小適應我的動作。
並且,如果我改變窗口的width
,則更容易識別black separation line
function demo() {
Alloy.Globals.master.win.width = 512;
Alloy.Globals.detail.win.width = 512;
}
[For test purpose you have to aim the exact pixel of the black separation line ]
你能說出為什么會發生這種情況,我該如何阻止這種行為?
在我看到這個問題發布之后,我測試了我自己的SplitWindow應用程序(它不是Alloy應用程序),並且那里也存在bug。
我試圖阻止這種情況發生的一切都是無用的。 我認為它應被視為一個錯誤,應該在Titanium JIRA上報告。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.