aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WinformsDesktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-17 09:59:23 -0400
committerMichael <[email protected]>2017-04-17 09:59:23 -0400
commit10b04ab0c859269f19a5d2fedd859401a525b957 (patch)
tree6cdb913c708b4354eb8f51c8769e3589b01b2ad7 /ShiftOS.WinForms/WinformsDesktop.cs
parent5cb49f332856ac312e8840ec04c7869b892d4dd4 (diff)
downloadshiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.tar.gz
shiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.tar.bz2
shiftos_thereturn-10b04ab0c859269f19a5d2fedd859401a525b957.zip
Fix bug with AAL text colors
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
-rw-r--r--ShiftOS.WinForms/WinformsDesktop.cs7
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;
}