Hi guys~
I've a weird problem with canvas border~

I have a canvas with border of 3 pixel and the canvas's clipcontent is
set to false and a child canvas with percentage height and
width of 100%.
The problem is that the canvas border and child canvas are overlapped.
What i expected is that the inner chid canvas should be positioned
inside the border as when clipconent is set true, not overlapped.


code here:
<mx:Canvas x="50" y="100" backgroundColor="#eeeeee"
borderColor="#FFDE00" borderThickness="3"
             borderStyle="solid" height="100" width="100"
clipContent="false" >
             <mx:Canvas width="100%" height="100%"
backgroundColor="#00ff00" includeInLayout="true" autoLayout="false" />
         </mx:Canvas>

Any ideas?

Thanks~






Reply via email to