mirror of
https://github.com/greenshot/greenshot
synced 2025-07-13 16:43:54 -07:00
This should fix most icon scaling issues
Improved the IniReader a bit and replaced some old code.
This commit is contained in:
parent
41baf27d84
commit
4a958be8b5
35 changed files with 2767 additions and 301 deletions
10
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
10
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
|
@ -293,7 +293,7 @@ namespace Greenshot {
|
|||
// toolsToolStrip
|
||||
//
|
||||
this.toolsToolStrip.ClickThrough = true;
|
||||
this.toolsToolStrip.ImageScalingSize = coreConfiguration.IconSize;
|
||||
this.toolsToolStrip.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
this.toolsToolStrip.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.toolsToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.toolsToolStrip.Renderer = new CustomToolStripProfessionalRenderer();
|
||||
|
@ -529,7 +529,7 @@ namespace Greenshot {
|
|||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.ClickThrough = true;
|
||||
this.menuStrip1.ImageScalingSize = coreConfiguration.IconSize;
|
||||
this.menuStrip1.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
this.menuStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.menuStrip1.Stretch = true;
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -858,7 +858,7 @@ namespace Greenshot {
|
|||
// destinationsToolStrip
|
||||
//
|
||||
this.destinationsToolStrip.ClickThrough = true;
|
||||
this.destinationsToolStrip.ImageScalingSize = coreConfiguration.IconSize;
|
||||
this.destinationsToolStrip.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
this.destinationsToolStrip.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.destinationsToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.destinationsToolStrip.Name = "toolStrip1";
|
||||
|
@ -1014,10 +1014,10 @@ namespace Greenshot {
|
|||
//
|
||||
this.propertiesToolStrip.AutoSize = false;
|
||||
this.propertiesToolStrip.ClickThrough = true;
|
||||
this.propertiesToolStrip.ImageScalingSize = coreConfiguration.IconSize;
|
||||
this.propertiesToolStrip.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
this.propertiesToolStrip.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.propertiesToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.propertiesToolStrip.MinimumSize = new System.Drawing.Size(150, coreConfiguration.IconSize.Height + 10);
|
||||
this.propertiesToolStrip.MinimumSize = new System.Drawing.Size(150, coreConfiguration.ScaledIconSize.Height + 10);
|
||||
this.propertiesToolStrip.Name = "propertiesToolStrip";
|
||||
this.propertiesToolStrip.Stretch = true;
|
||||
this.propertiesToolStrip.TabIndex = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue