Closed tornikegomareli closed 1 year ago
Same problem here, background is white, doesn't know how to change it
You can use below path to change the background color of HUD
BigTed.ProgressHUD.Shared.HudBackgroundColour = <YourColor>
This issue should be close.
BigTed.ProgressHUD.Shared.HudBackgroundColour = UIColor.Black Above code not working when application is killed and launched again. Its not showing color which is set for supporting dark mode. Its showing white color only.
Not to resurrect a dead thread, but this doesn't work in the new MAUI compatible version. Is there any update on how to update the HudBackgroundColor and HudForegroundColor?
Thanks!
HudForegroundColor is for the text color
Try: ProgressHUD.Shared.Ring.Color = UIColor.Green
Thanks, but it isn't the issue of which items I can't change the colors on. The problem is that
ProgressHUD.Shared
doesn't appear to exist in the newest version that's compatible with MAUI
OK, I gut the issue now!
So it seems @Redth changed some of this in: https://github.com/redth-org/BTProgressHUD/commit/9a3b340a252659ec9a4085f7ec238254f157576b where he modernized the API.
So instead of calling ProgressHUD.Shared
you will call ProgressHUD.For(window)
or ProgressHUD.ForDefaultWindow()
and then customize the properties on that instance.
Your issue is unrelated to the original issue in this thread. So I will close this one, but feel free to open a new issue explaining in more details what the problem is.
In default my progresshud's background color is white.
How can I change it ?