mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Fix bug with AAL text colors
This commit is contained in:
parent
5cb49f3328
commit
10b04ab0c8
1 changed files with 6 additions and 1 deletions
|
@ -449,13 +449,14 @@ namespace ShiftOS.WinForms
|
|||
if (Shiftorium.UpgradeInstalled("desktop_widgets"))
|
||||
{
|
||||
Widgets.Clear();
|
||||
pnlwidgetlayer.Controls.Clear();
|
||||
foreach(var widget in WidgetManager.GetAllWidgetTypes())
|
||||
{
|
||||
UserControl w = (UserControl)Activator.CreateInstance(widget.Value, null);
|
||||
|
||||
w.Location = WidgetManager.LoadLocation(w.GetType());
|
||||
|
||||
pnlwidgetlayer.Controls.Add(w);
|
||||
//pnlwidgetlayer.Controls.Add(w);
|
||||
MakeWidgetMovable(w);
|
||||
Widgets.Add(w as IDesktopWidget);
|
||||
}
|
||||
|
@ -559,6 +560,7 @@ namespace ShiftOS.WinForms
|
|||
lbalstatus.BackColor = LoadedSkin.ALStatusPanelBackColor;
|
||||
//Fonts
|
||||
lbalstatus.Font = LoadedSkin.ALStatusPanelFont;
|
||||
lbalstatus.ForeColor = LoadedSkin.ALStatusPanelTextColor;
|
||||
btnshutdown.Font = LoadedSkin.ShutdownFont;
|
||||
|
||||
//Upgrades
|
||||
|
@ -593,6 +595,9 @@ namespace ShiftOS.WinForms
|
|||
pnlalsystemactions.BackgroundImageLayout = GetImageLayout("al_bg_system");
|
||||
if (pnlalsystemactions.BackgroundImage != null)
|
||||
btnshutdown.BackColor = Color.Transparent;
|
||||
|
||||
btnshutdown.Font = LoadedSkin.ShutdownFont;
|
||||
btnshutdown.ForeColor = LoadedSkin.ShutdownForeColor;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue