Change 20091014-maxcarlson-K by [email protected] on 2009-10-14  
02:25:33 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean/lps/components
     for http://svn.openlaszlo.org/openlaszlo/trunk/lps/components

Summary: Add container view to edittext

Bugs Fixed: LPP-8544 - DHTML/SWF10: <text> in front of <edittext>  
intercepts mouse clicks

Technical Reviewer: ptw
QA Reviewer: hminsky

Details: Since there's no good way to prevent text from intercepting  
clicks when in front of an edittext, adding a view that's physically  
behind edittext's inputtext seemed like the way to go.  This way, any  
views nested inside the edittext get placed in such a way that they  
won't interfere.  As a bonus, the container is appropriately  
positioned to overlay the text - so any subviews will be also.

Tests: Updated version of testcase from LPP-8544.  This change  
prevents the text from intercepting mouse clicks in DHTML and swf10:
<canvas>
   <edittext id="baz" width="175">
     <text visible="${baz.value==''}">
         Can't click here.
     </text>
   </edittext>
</canvas>


Files:
M       lps/components/lz/edittext.lzx

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20091014-maxcarlson-K.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to