Jump to content

font color issue when widget is disabled


photo

Recommended Posts

Hi,

 

We are having an issue with font color of widgets.

 

Current flow:

  1. create a checkbox widget
  2. setEnabled(false)
  3. add it to some container
  4. perform 1 to 3 multiple times
  5. make recursive call to all child widgets in that container and set their fontcolor to Black

Issue:

checkbox widget does not look like disabled (color does not changed to lighter shade)

 

Now if we remove step 5, widget's font color changes to lighter shade (it looks disabled) BUT as soon as we enable it from the script, the color became white(the default font color) and not Black

 

Hope I am able to describe it properly as creating a test scheme will be time consuming. Again everything was working fine with Unigine 1.

 

Looks like internally setEnabled() is not respecting the users font color setting.

Link to comment

Priyank,

 

Sorry for the late reply.

 

We currently had no chance to look into this. Could you please send us small test sample with stable reproduction so we can take a look into in more closely? If I understand you correctly you are using 2.3.1 SDK and UnigineScript?

Thanks!

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

Link to comment
×
×
  • Create New...