1
NGUI 3 Support / Re: Problem with BB-code in UILabel
« on: August 25, 2014, 04:09:23 AM »
I Am sorry it took me so long but I updated NGUI, created a new label and inserted the following text:
the result looks like:
http://puu.sh/b73EU/c409e70880.png
so the opening bracket is missing. These are the settings set on the label:
http://puu.sh/b73G1/3ab75aed4f.png
If I change the text to:
(Adding a white space after the '[')
it works
- [008066]to[-] [000000]test[-]
- [008066]repeat[-] [0000FF]12[-] [000000][[-] [008066]fd[-] [0000FF]100[-] [008066]rt[-] [0000FF]90[-] [000000]][-]
- [008066]end[-]
http://puu.sh/b73EU/c409e70880.png
so the opening bracket is missing. These are the settings set on the label:
http://puu.sh/b73G1/3ab75aed4f.png
If I change the text to:
- [008066]to[-] [000000]test[-]
- [008066]repeat[-] [0000FF]12[-] [000000][ [-] [008066]fd[-] [0000FF]100[-] [008066]rt[-] [0000FF]90[-] [000000]][-]
- [008066]end[-]
it works