Button Foreground Color doesn't work since last update
03 Dec 2024, 19:17
Hello Spotware,
Since last update, the button foreground (and I think other stuff but I'm still testing) is broken, can't properly change the color of the text.
Please Fix
using System;using cAlgo.API;using cAlgo.API.Collections;using cAlgo.API.Indicators;using cAlgo.API.Internals;namespace cAlgo.Robots;[Robot(AccessRights = AccessRights.None, AddIndicators = true)]public class TestButton : Robot{ private Button _button; protected override void OnStart() { _button = new Button() { Text = "Test Button", VerticalAlignment = VerticalAlignment.Top, HorizontalAlignment = HorizontalAlignment.Left, Margin = 10, ForegroundColor = Color.HotPink, BackgroundColor = Color.FromHex("333333") }; Chart.AddControl(_button); }}
Replies
PanagiotisCharalampous
04 Dec 2024, 06:33
Hi all,
It is a known issue and it will be solved in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous

Enivid
03 Dec 2024, 21:00
I confirm having the same issue with the control colors. It wasn't like that in the previous versions of cTrader.
@Enivid