diff options
| author | Michael <[email protected]> | 2017-04-17 09:59:23 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-17 09:59:23 -0400 |
| commit | 10b04ab0c859269f19a5d2fedd859401a525b957 (patch) | |
| tree | 6cdb913c708b4354eb8f51c8769e3589b01b2ad7 | |
| parent | 5cb49f332856ac312e8840ec04c7869b892d4dd4 (diff) | |
| download | shiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.tar.gz shiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.tar.bz2 shiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.zip | |
Fix bug with AAL text colors
| -rw-r--r-- | ShiftOS.WinForms/WinformsDesktop.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index ee0f34d..0cbf56a 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -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; } |
