Jump to content

[SOLVED] Set font color on WidgetLabel showed on ObjectGui don't work


photo

Recommended Posts

Posted

Hi,

 

i have ObjectGui and add to him WidgetLabel that have set Font color for example vec4(1,0,0,1) - red.

Label is paint with white color, but i except red.

 

If change ObjectGui to Gui, it painted with right color - red.

 

In previous version it work right.

 

Honya

Posted

Hi,

 

add this:

label.setFontColor(vec4(1,0,0,1));

on 45 line in gui_05.cpp in Unigine script examples for Objects.

 

Honya

Posted

Hi Jan,

 

I've added this bug to our internal bug tracker.

 

Right now it is possible to change text color by changing the material setting in Parameters tab (Shading Color).

 

Thank you!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • 5 months later...
×
×
  • Create New...