Badcreature / mad-components

Automatically exported from code.google.com/p/mad-components
0 stars 0 forks source link

check for custom labels during XML parsing #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Extend UILabel with a custom class
2. Register Class
3. When parsing occurs the text is not passed to the label

What is the expected output? What do you see instead?
The text in the XML should be displayed by the custom label class

What version of the product are you using? On what operating system?
0.7.6

Fix:
in UIForm at line 418, adding the following fixes the issue
if( child is TextField && !(child is UILabel))
{
(child as TextField).htmlText = line;
}

Original issue reported on code.google.com by jerome.m...@gmail.com on 30 Aug 2012 at 3:39

GoogleCodeExporter commented 9 years ago

Original comment by doc.andr...@gmail.com on 3 Sep 2012 at 2:50