It is defined in the file views/LzText6.as in the current release. (In the future it's going to to be called LzText.lzs, and
will have a portable implemenation, with the platform-specific stuff implemented by the new LztextSprite class).
You can try a patch to a method if you like without having to rebuild the LFC by cutting and pasting the relevant method out of the .as file and including it in
a <script> block which you include at the start of your app (don't forget the <![CDATA[ ]]> if there's any XML metachars in there).
On 6/21/06, William Krick <[EMAIL PROTECTED]> wrote:
I'm trying to fix an alignment problem with the text and background in the
datacombobox...
http://www.openlaszlo.org/jira/browse/LPP-1931
If I go into datacombobox.lzx and change this...
<text name="_text" x="8" y="0"
width="${ parent.width - 19 }" />
...to this...
<text name="_text" x="2" y="2"
width="${ parent.width - 19 }"
height="${ parent.height - 2 }" />
...then the background area of the "text" object is the same size and
position as a normal combobox.
However the actual characters inside the view need be moved to get the
alignment exact... x+2, y+1
I know that in an edit text, there's a "text_y" property that you can use to
effect the alignment of the text.
I can't see anything in the docs of <text> so I'd like to look at the source
but I can't seem to find it.
Anyone know where I should look?
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
