Jump to content

[SOLVED] & charecter problem in label rich text


photo

Recommended Posts

Posted

Hi all,

tested in lastest version of Unigine in Windows.

Simply replacing ui_oo.ui file with the following code:

<?xml version="1.0" encoding="utf-8"?>
<ui version="1.0">

<window name="Window::window" export="1">
	<button align="expand">
		<text>Press & me</text>
		<callback type="clicked" variable="Window::instance" string="clicked">Window::callback_redirector</callback>
	</button>
	<label><text rich="1">Press & me </text></label>
</window>

</ui>

you get a FontRich parse error: unknown symbol "&" from label definition.

It doesn't happens with charect " for example.

 

Note: as workaround you can use &amp; but I think this could be fixed ;)

 

Best regards.

×
×
  • Create New...