If anyone could take a look at this change ...

Actually this is the fix for LPP-9266, but should help implement LPP-9478
(CSS styling of the bidi property).



On Wed, Oct 27, 2010 at 9:18 PM, Henry Minsky <[email protected]>wrote:

> Change hqm-20101027-PGz by [email protected] on 2010-10-27 20:27:15 EDT
>    in /Users/hqm/openlaszlo/trunk3
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: implement cascade of bidi text property at construct time
>
> New Features:
>
> Bugs Fixed: LPP-9478
>
> Technical Reviewer: ptw
> QA Reviewer: max
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Overview:
>
>
> Details:
>
> Use the font cascade machinery to inherit the hasdirectionallayout property
> for text,
> and look up the value early enough to allow the correct value to be set
> when
> __makeSprite is called.
>
>
> Tests:
>
> cascade-property.lzx: this demonstrates the cascade inheritance of the
> hasdirectionallayout property from
> the parent view. The top line of text should read
> "hasdirectionallayout=true", and the second line should
> show LzTLFTextField as the class name
>
> examples/components/bidi_component_sampler.lzx
>  copy of component_sampler with hasdirectionallayout=true set at the top
> level view, so all text views
>  should be using the new bidi LzTLFTextfield class in their sprite.
>
>  The app should appear identical to component_sampler.lzx in SWF10, except
> that
>  inspection of the text views of components shows that their
> tsprite.textfield is of type LzTLFTextField rather than TextField
>
> Files:
> A       test/tlf/cascade-property.lzx
> M       WEB-INF/lps/lfc/kernel/swf9/LzTLFTextField.as
> M       WEB-INF/lps/lfc/views/LzText.lzs
> M       WEB-INF/lps/lfc/views/LaszloView.lzs
> A       examples/components/bidi_component_sampler.lzx
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101027-PGz.tar
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to