简体   繁体   中英

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. 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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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