[Laszlo-user] trying to fix some of LPP-1931... where is the source for "text"?
William Krick
wkrick at eio-online.com
Wed Jun 21 12:32:12 EDT 2006
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?
More information about the Laszlo-user
mailing list