Hi
I have defined a layout constraint in the code below :
<canvas width="100%" height="400">
<view align="center">
* <simplelayout axis="x" spacing="40" />* talking about this
constraint
<view name="topView">
<simplelayout spacing="7"/>
<button>Click Me
<handler name="onmouseover">
parent.innerView.setAttribute('visible', true);
</handler>
</button>
<view name="innerView" visible="false">
<simplelayout axis="x" spacing="5" />
<edittext width="60" />
<text onclick="parent.setAttribute('visible',
false)">cancel</text>
</view>
</view>
<view name="bottomView">
<simplelayout axis="y" spacing="10" />
<button name="showMyCam"
align="right" onclick="camm.setAttribute('show', true)">Show
Cam
</button>
<videoview id="broadcasting" width="220" height="200"
type="rtmp" align="right">
<camera id="camm" capturing="true"/>
</videoview>
</view>
</view>
</canvas>
It is working well when I click the "Click Me" button. But if I click the
"Show Cam" button. Videoview and topView is overlapping, constraint does not
work.
I think something I am missing, but couldnT find where I am doing mistake.
Can anyone help me.
Thanks in advance
Regards
--
Cem SONMEZ