mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Fixed some more DPI issues, this time in the settings.
This commit is contained in:
parent
09d310da78
commit
82fa94f566
3 changed files with 10 additions and 12 deletions
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Greenshot.Base.UnmanagedHelpers;
|
|
||||||
using Greenshot.Base.UnmanagedHelpers.Enums;
|
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace Greenshot.Base.Controls
|
namespace Greenshot.Base.Controls
|
||||||
|
|
4
src/Greenshot/Forms/SettingsForm.Designer.cs
generated
4
src/Greenshot/Forms/SettingsForm.Designer.cs
generated
|
@ -1257,8 +1257,8 @@ namespace Greenshot.Forms {
|
||||||
//
|
//
|
||||||
// SettingsForm
|
// SettingsForm
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(451, 431);
|
this.ClientSize = new System.Drawing.Size(451, 431);
|
||||||
this.Controls.Add(this.tabcontrol);
|
this.Controls.Add(this.tabcontrol);
|
||||||
this.Controls.Add(this.settings_confirm);
|
this.Controls.Add(this.settings_confirm);
|
||||||
|
|
|
@ -94,6 +94,14 @@ namespace Greenshot.Forms
|
||||||
// Changes for BUG-2077
|
// Changes for BUG-2077
|
||||||
numericUpDown_daysbetweencheck.ValueChanged += NumericUpDownDaysbetweencheckOnValueChanged;
|
numericUpDown_daysbetweencheck.ValueChanged += NumericUpDownDaysbetweencheckOnValueChanged;
|
||||||
|
|
||||||
|
// Expert mode, the clipboard formats
|
||||||
|
foreach (ClipboardFormat clipboardFormat in Enum.GetValues(typeof(ClipboardFormat)))
|
||||||
|
{
|
||||||
|
ListViewItem item = listview_clipboardformats.Items.Add(Language.Translate(clipboardFormat));
|
||||||
|
item.Tag = clipboardFormat;
|
||||||
|
item.Checked = coreConfiguration.ClipboardFormats.Contains(clipboardFormat);
|
||||||
|
}
|
||||||
|
|
||||||
_daysBetweenCheckPreviousValue = (int) numericUpDown_daysbetweencheck.Value;
|
_daysBetweenCheckPreviousValue = (int) numericUpDown_daysbetweencheck.Value;
|
||||||
DisplayPluginTab();
|
DisplayPluginTab();
|
||||||
UpdateUi();
|
UpdateUi();
|
||||||
|
@ -470,14 +478,6 @@ namespace Greenshot.Forms
|
||||||
{
|
{
|
||||||
colorButton_window_background.SelectedColor = coreConfiguration.DWMBackgroundColor;
|
colorButton_window_background.SelectedColor = coreConfiguration.DWMBackgroundColor;
|
||||||
|
|
||||||
// Expert mode, the clipboard formats
|
|
||||||
foreach (ClipboardFormat clipboardFormat in Enum.GetValues(typeof(ClipboardFormat)))
|
|
||||||
{
|
|
||||||
ListViewItem item = listview_clipboardformats.Items.Add(Language.Translate(clipboardFormat));
|
|
||||||
item.Tag = clipboardFormat;
|
|
||||||
item.Checked = coreConfiguration.ClipboardFormats.Contains(clipboardFormat);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Language.CurrentLanguage != null)
|
if (Language.CurrentLanguage != null)
|
||||||
{
|
{
|
||||||
combobox_language.SelectedValue = Language.CurrentLanguage;
|
combobox_language.SelectedValue = Language.CurrentLanguage;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue