Interestingly, the checkbox aligment works properly when I change the constraint which sets the text y offset from a $once to an always

        <text name="_title" x="16" y="${classroot.text_y }" text="${parent.text}" resize="true"/>

The text_y attribute is computed by this constraint
        <attribute name="text_y"
            value="${this.cb.height /2 - this._title.height/2+1}" type="number"/>

So maybe the LzText is not sending an appropriate onheight event when it's height
is getting computed?  I'll look into that now..





On 9/29/06, Henry Minsky <[EMAIL PROTECTED]> wrote:

I fudged the LzTextSprite to add 4 to the height to make it match the SWF text height values, but the checkbox and radio button labels
don't look much different, they appear to be bottom aligned instead of center aligned to the button graphic. I'm
investigating...


--
Henry Minsky
Software Architect
[EMAIL PROTECTED]




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to