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

Reply via email to