Jump to content

[SOLVED] setFontPermanent


photo

Recommended Posts

Hey Unigine,

 

I tried to call "setFontPermanent" on WidgetLabel, but log says:
12:26:02 path:111: Interpreter::parse_extern_class_begin(): unknown "WidgetLabel" class member "setFontPermanent"

 

I'm using latest SDK.

Documentation: https://developer.unigine.com/en/docs/1.0/code/scripting/library/gui/class.widget#setFontPermanent_int

 

Could you please have a look?

 

My .ui file: 

<label pos_y="5" align="overlap" name="serverStatus" export="1"><text>Offline</text></label>

My .h file:

serverStatus.setFontPermanent(-1); 

Greetings & Thanks 

Lars

Link to comment
×
×
  • Create New...