starling下组件错位,window不能拖动!

首次使用fui是一年前用来做egret游戏。
公司需要做starling页游,于是转接过来打算用fui。
但是发现了上诉问题。
查阅了源代码,发现starling和egret里面window的show里面的代码顺序不一样,逻辑上虽然看起来没影响,但是是不是意味着两个引擎的ui代码的版本不一致呢?麻烦谷主有时间检查一下。如果代码版本没问题。我确实没找到影响上诉问题的原因。劳指点一二。非常感谢。
表现如图所示。

游戏图.png


编辑器1.png


编辑器2.png

 
下面是我的frame的xml
<?xml version="1.0" encoding="utf-8"?>
<component size="300,220" extention="Label">
  <displayList>
    <image id="n0_dq9z" name="n0" src="10se14" fileName="imgs/bg_tips_1.png" pkg="frt3ie7j" xy="0,0">
      <relation target="" sidePair="width-width,height-height"/>
    </image>
    <component id="n1_dq9z" name="btnClose" src="10se1d" fileName="comps/ButtonImage.xml" pkg="frt3ie7j" xy="275,4" size="20,20">
      <relation target="" sidePair="right-right"/>
      <Button icon="ui://fi7juebc10se1d"/>
    </component>
    <text id="n3_dq9z" name="title" xy="73,-2" size="153,34" fontSize="23" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="title">
      <relation target="" sidePair="center-center"/>
    </text>
    <graph id="n2_dq9z" name="dragArea" xy="0,0" size="270,29" visible="false" type="rect">
      <relation target="" sidePair="width-width"/>
    </graph>
  </displayList>
</component>
已邀请:

谷主

赞同来自: denzhe22

测试demo。

要回复问题请先登录注册