Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Lukas R
on
I've just tried a simple implementation of both, but without success - the text remain white and "normal" as inherited in the widget settings. No errors found when compiling. Is this correct?

if (race.LivePosition == 1)
{
  var widget = item.Theme.Widgets.Find("W_Tower");

  foreach (var subwidget in widget.Ticker.RepeatedSubWidgets)
  {
      var label = subwidget.Labels.Find("L_Tower_Temp");
      label.Font.FontWeight = TextFontWeights.Bold;
      label.Font.FontColor = Colors.Red;
}