diff --git a/LibreHardwareMonitor b/LibreHardwareMonitor
index 124fabb..65664fd 160000
--- a/LibreHardwareMonitor
+++ b/LibreHardwareMonitor
@@ -1 +1 @@
-Subproject commit 124fabb1951aebe59708b7f8050038b076ac79dd
+Subproject commit 65664fd75ec6dff9c6ccecadfbc45398dff21477
diff --git a/SidebarDiagnostics/Properties/Resources.Designer.cs b/SidebarDiagnostics/Properties/Resources.Designer.cs
index e191c1f..5431e99 100644
--- a/SidebarDiagnostics/Properties/Resources.Designer.cs
+++ b/SidebarDiagnostics/Properties/Resources.Designer.cs
@@ -19,7 +19,7 @@ namespace SidebarDiagnostics.Framework {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -1779,6 +1779,24 @@ public static string SettingsShowTrayIconTooltip {
}
}
+ ///
+ /// Looks up a localized string similar to Sidebar Border Width.
+ ///
+ public static string SettingsSidebarBorderWidth {
+ get {
+ return ResourceManager.GetString("SettingsSidebarBorderWidth", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Width of the sidebar border in pixels..
+ ///
+ public static string SettingsSidebarBorderWidthTooltip {
+ get {
+ return ResourceManager.GetString("SettingsSidebarBorderWidthTooltip", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Sidebar Width.
///
diff --git a/SidebarDiagnostics/Properties/Resources.resx b/SidebarDiagnostics/Properties/Resources.resx
index 4e24bea..7412aea 100644
--- a/SidebarDiagnostics/Properties/Resources.resx
+++ b/SidebarDiagnostics/Properties/Resources.resx
@@ -9,6 +9,7 @@
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
+
Example:
... ado.net/XML headers & schema ...
@@ -1040,4 +1041,12 @@
Shows the name of the computer.
Settings show machine name tooltip
-
+
+ Sidebar Border Width
+ Settings sidebar border width label
+
+
+ Width of the sidebar border in pixels.
+ Settings sidebar border width tooltip
+
+
\ No newline at end of file
diff --git a/SidebarDiagnostics/Settings.cs b/SidebarDiagnostics/Settings.cs
index 6c8653a..fc1b735 100644
--- a/SidebarDiagnostics/Settings.cs
+++ b/SidebarDiagnostics/Settings.cs
@@ -380,6 +380,23 @@ public int SidebarWidth
}
}
+ private int _sidebarBorderWidth { get; set; } = 12;
+
+ [JsonProperty]
+ public int SidebarBorderWidth
+ {
+ get
+ {
+ return _sidebarBorderWidth;
+ }
+ set
+ {
+ _sidebarBorderWidth = value;
+
+ NotifyPropertyChanged("SidebarBorderWidth");
+ }
+ }
+
private bool _autoBGColor { get; set; } = false;
[JsonProperty]
diff --git a/SidebarDiagnostics/Settings.xaml b/SidebarDiagnostics/Settings.xaml
index 9a360e1..1f0e693 100644
--- a/SidebarDiagnostics/Settings.xaml
+++ b/SidebarDiagnostics/Settings.xaml
@@ -161,6 +161,7 @@
+
@@ -207,6 +208,12 @@
+
+
+
+
+
+
diff --git a/SidebarDiagnostics/SettingsModel.cs b/SidebarDiagnostics/SettingsModel.cs
index 92610b1..4673299 100644
--- a/SidebarDiagnostics/SettingsModel.cs
+++ b/SidebarDiagnostics/SettingsModel.cs
@@ -52,6 +52,7 @@ public SettingsModel(Sidebar sidebar)
AutoUpdate = Framework.Settings.Instance.AutoUpdate;
RunAtStartup = Framework.Settings.Instance.RunAtStartup;
SidebarWidth = Framework.Settings.Instance.SidebarWidth;
+ SidebarBorderWidth = Framework.Settings.Instance.SidebarBorderWidth;
AutoBGColor = Framework.Settings.Instance.AutoBGColor;
BGColor = Framework.Settings.Instance.BGColor;
BGOpacity = Framework.Settings.Instance.BGOpacity;
@@ -148,6 +149,7 @@ public void Save()
Framework.Settings.Instance.AutoUpdate = AutoUpdate;
Framework.Settings.Instance.RunAtStartup = RunAtStartup;
Framework.Settings.Instance.SidebarWidth = SidebarWidth;
+ Framework.Settings.Instance.SidebarBorderWidth = SidebarBorderWidth;
Framework.Settings.Instance.AutoBGColor = AutoBGColor;
Framework.Settings.Instance.BGColor = BGColor;
Framework.Settings.Instance.BGOpacity = BGOpacity;
@@ -576,6 +578,22 @@ public int SidebarWidth
}
}
+ private int _sidebarBorderWidth { get; set; }
+
+ public int SidebarBorderWidth
+ {
+ get
+ {
+ return _sidebarBorderWidth;
+ }
+ set
+ {
+ _sidebarBorderWidth = value;
+
+ NotifyPropertyChanged("SidebarBorderWidth");
+ }
+ }
+
private bool _autoBGColor { get; set; }
public bool AutoBGColor
diff --git a/SidebarDiagnostics/Sidebar.xaml b/SidebarDiagnostics/Sidebar.xaml
index bfe256e..3296be3 100644
--- a/SidebarDiagnostics/Sidebar.xaml
+++ b/SidebarDiagnostics/Sidebar.xaml
@@ -49,8 +49,8 @@
-
-
+
+
@@ -64,8 +64,8 @@
-
-
+
+