简体   繁体   English

钛合金SplitWindow IOS奇怪的行为改变宽度

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

I have a strange behavior if I drag horizontally the black separation line between the two windows. 如果我水平拖动两个窗口之间的black separation line我会有一种strange behavior The windows change size adapting to my movements. 窗户改变大小适应我​​的动作。

在此输入图像描述在此输入图像描述在此输入图像描述

And, if I change the width of the windows is even easier to identify the black separation line 并且,如果我改变窗口的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 ]

Could you tell why is this happening and how do I stop this behavior?? 你能说出为什么会发生这种情况,我该如何阻止这种行为?

After I saw this problem posted, I tested my own SplitWindow application (which is not an Alloy application) and the bug exists there as well. 在我看到这个问题发布之后,我测试了我自己的SplitWindow应用程序(它不是Alloy应用程序),并且那里也存在bug。

Everything I tried to prevent this from happening was useless. 我试图阻止这种情况发生的一切都是无用的。 I believe it is to be considered a bug and should be reported at the Titanium JIRA. 我认为它应被视为一个错误,应该在Titanium JIRA上报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM