Fix built in plugins and some UI issues

This commit is contained in:
Stone_Red
2023-11-23 17:28:57 +01:00
parent 247c374e99
commit 5c9613276a
12 changed files with 125 additions and 230 deletions
+4 -2
View File
@@ -29,7 +29,8 @@ namespace DesktopMagic
{
{"Music Visualizer", typeof(MusicVisualizerPlugin)},
{"Time", typeof(TimePlugin)},
{"Date", typeof(DatePlugin)}
{"Date", typeof(DatePlugin)},
{"Cpu Usage", typeof(CpuMonitorPlugin)}
};
private bool loaded = false;
@@ -338,7 +339,8 @@ namespace DesktopMagic
DockPanel dockPanel = new()
{
LastChildFill = true,
HorizontalAlignment = HorizontalAlignment.Stretch
HorizontalAlignment = HorizontalAlignment.Stretch,
Margin = new Thickness(0, 0, 0, 5)
};
_ = optionsPanel.Children.Add(dockPanel);