[Laszlo-dev] [Platform-team] A few questions about text behavior...
P T Withington
ptw at openlaszlo.org
Fri Aug 31 09:12:31 PDT 2007
[Redirecting to laszlo-dev]
On 2007-08-30, at 18:45 EDT, J Crowley wrote:
> So, I'm working on the test in lztest/lztest-text.lzx, and there
> are a few questions I have about text's operation.
> - In one test, there's a comment that says that if you specify the
> label attribute on text, it'll override the text attribute. This
> test is failing because the text attribute isn't being overridden
> by label. I'd actually never seen this behavior before, so I'm not
> sure whether this is really expected operation. This is causing
> two similar errors, one comparing text to label, and the other
> comparing getText to label.
label has been deprecated for some time and has been deleted from
4.x. I would nuke this test, and make a note in the Wiki on porting
to 4.x that you will have to update any uses of label.
> - How are we measuring text and text spacing? I get multiple
> failures saying xspacing should be 11, but it's getting 7. I'm
> thinking maybe the spacing we're using has changed? Not sure. But
> such a consistent failure makes me suspect an intentional change
> and not an error. I also get a few other miscellaneous text
> measuring errors, but the biggest and most frequent one is the
> xspacing one.
Max (cc-ed) is your man here.
More information about the Laszlo-dev