diff --git a/app/Settings.Designer.cs b/app/Settings.Designer.cs index 933a7781..c37b990f 100644 --- a/app/Settings.Designer.cs +++ b/app/Settings.Designer.cs @@ -1199,15 +1199,15 @@ namespace GHelper // // labelCharge // - labelCharge.Anchor = AnchorStyles.Top | AnchorStyles.Right; + labelCharge.Dock = DockStyle.Right; labelCharge.ForeColor = SystemColors.ControlDark; - labelCharge.Location = new Point(476, 10); - labelCharge.Margin = new Padding(8, 0, 8, 0); + labelCharge.Location = new Point(365, 0); + labelCharge.Margin = new Padding(0, 0, 0, 0); labelCharge.Name = "labelCharge"; - labelCharge.Size = new Size(324, 36); + labelCharge.Padding = new Padding(0, 0, 20, 0); + labelCharge.Size = new Size(462, 56); labelCharge.TabIndex = 40; - labelCharge.Text = " "; - labelCharge.TextAlign = ContentAlignment.TopRight; + labelCharge.TextAlign = ContentAlignment.MiddleRight; // // panelPeripherals // diff --git a/app/Settings.cs b/app/Settings.cs index 240f528b..4381ca52 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -178,15 +178,8 @@ namespace GHelper sensorTimer.Elapsed += OnTimedEvent; sensorTimer.Enabled = true; - panelBattery.MouseEnter += PanelBattery_MouseEnter; labelCharge.MouseEnter += PanelBattery_MouseEnter; - labelBattery.MouseEnter += PanelBattery_MouseEnter; - labelBatteryTitle.MouseEnter += PanelBattery_MouseEnter; - - panelBattery.MouseLeave += PanelBattery_MouseLeave; labelCharge.MouseLeave += PanelBattery_MouseLeave; - labelBattery.MouseLeave += PanelBattery_MouseLeave; - labelBatteryTitle.MouseLeave += PanelBattery_MouseLeave; buttonPeripheral1.Click += ButtonPeripheral_Click; buttonPeripheral2.Click += ButtonPeripheral_Click; diff --git a/app/Settings.resx b/app/Settings.resx index af32865e..a395bffc 100644 --- a/app/Settings.resx +++ b/app/Settings.resx @@ -18,7 +18,7 @@ System.Resources.ResXResourceReader, System.Windows.Forms, ... System.Resources.ResXResourceWriter, System.Windows.Forms, ... this is my long stringthis is a comment - Blue + Blue [base64 mime encoded serialized .NET Framework object]