- Moderator
- #31
You are right. I realized while I was doing the lastest tests. And now, moved <textcolor>#test_textcolor_xml</textcolor> to myvideo.views.default.xml (thanks for your advice/explanation), are working .
I realized that if <define property="true">#test_textcolor_property_xml:ffff0000</define> is moved to myvideo.views.default.xml, works ok also. But in this case, it should work, even if it was in a diferent file (in the end, it's a property, no?) .
Thank you very much for you invaluable help, your time and your advice
Yep, it should work but when analyzing it, like on first check it didn't find the value (because it's in another file), MP think it's a text color, read here the '#test_textcolor_property_xml' is like a text like 'white' and this is why it failed.
I agree that maybe MP should read all files before but it didn't.
For a text it's different because there is another check in render code of GUITextScrollUpControl.cs but not for the color, the color is set before (surely to keep GPU/CPU usage etc.
So do you confirm me that all seems to works if we set property and value in the current XML ?
Thanks