[CUETools, CUERipper] Restore ImageScalingSize

Restore the ImageScalingSize to default settings, which is (16, 16).
As a side effect of commit 16fccfe, the ImageScalingSize was set to
(24, 24), which led to over-sized images. In case of toolStripInput
and toolStripOutput the images were scaled non-proportionally and
looked squashed.

- CUETools:
  - Reset the ImageScalingSize of:
    statusStrip1
    toolStripCorrectorFormat
    toolStripInput
    toolStripOutput
    toolStripMenu
    contextMenuStripFileTree
  - Restore toolStripProgressBar2.Size to 120, 23
  - Restore $this.MinimumSize to 699, 537

- CUERipper:
  - Reset the ImageScalingSize of: statusStrip1
  - Restore $this.MinimumSize to 680, 487

- The above mentioned modifications were applied and the rest of the
  changes result from saving the forms with Visual Studio

- The CUETools and CUERipper forms are restored like they
  looked in 2.1.7
This commit is contained in:
Wolfgang Stöggl
2021-02-07 08:31:30 +01:00
parent d8fdd5256b
commit 087f89ad46
4 changed files with 1656 additions and 2397 deletions

View File

@@ -134,7 +134,6 @@ namespace CUERipper
//
// statusStrip1
//
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1,
this.toolStripStatusLabelMusicBrainz,
@@ -209,6 +208,7 @@ namespace CUERipper
resources.ApplyResources(this.listTracks, "listTracks");
this.listTracks.FullRowSelect = true;
this.listTracks.GridLines = true;
this.listTracks.HideSelection = false;
this.listTracks.LabelEdit = true;
this.listTracks.Name = "listTracks";
this.toolTip1.SetToolTip(this.listTracks, resources.GetString("listTracks.ToolTip"));
@@ -623,6 +623,7 @@ namespace CUERipper
this.listMetadata.FullRowSelect = true;
this.listMetadata.GridLines = true;
this.listMetadata.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
this.listMetadata.HideSelection = false;
this.listMetadata.LabelEdit = true;
this.listMetadata.Name = "listMetadata";
this.listMetadata.UseCompatibleStateImageBehavior = false;
@@ -755,8 +756,8 @@ namespace CUERipper
//
// buttonEjectDisk
//
this.buttonEjectDisk.Image = global::CUERipper.Properties.Resources.cd_eject;
resources.ApplyResources(this.buttonEjectDisk, "buttonEjectDisk");
this.buttonEjectDisk.Image = global::CUERipper.Properties.Resources.cd_eject;
this.buttonEjectDisk.Name = "buttonEjectDisk";
this.buttonEjectDisk.UseVisualStyleBackColor = true;
this.buttonEjectDisk.Click += new System.EventHandler(this.buttonEjectDisk_Click);
@@ -815,6 +816,7 @@ namespace CUERipper
this.panel2.ResumeLayout(false);
this.panel7.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();

File diff suppressed because it is too large Load Diff

View File

@@ -185,7 +185,6 @@ namespace JDP {
// statusStrip1
//
resources.ApplyResources(this.statusStrip1, "statusStrip1");
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1,
this.toolStripStatusLabelProcessed,
@@ -384,7 +383,6 @@ namespace JDP {
//
resources.ApplyResources(this.toolStripCorrectorFormat, "toolStripCorrectorFormat");
this.toolStripCorrectorFormat.BackColor = System.Drawing.Color.Transparent;
this.toolStripCorrectorFormat.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStripCorrectorFormat.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButtonCorrectorOverwrite,
this.toolStripDropDownButtonCorrectorMode,
@@ -634,14 +632,13 @@ namespace JDP {
//
resources.ApplyResources(this.toolStripInput, "toolStripInput");
this.toolStripInput.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStripInput.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStripInput.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabelInput,
this.toolStripSplitButtonInputBrowser});
this.toolStripInput.Name = "toolStripInput";
this.toolStripInput.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
this.toolStripInput.Click += new System.EventHandler(this.toolStripInput_Click);
this.toolStripInput.TabStop = true;
this.toolStripInput.Click += new System.EventHandler(this.toolStripInput_Click);
//
// toolStripLabelInput
//
@@ -692,15 +689,14 @@ namespace JDP {
resources.ApplyResources(this.toolStripOutput, "toolStripOutput");
this.toolStripOutput.GripMargin = new System.Windows.Forms.Padding(0);
this.toolStripOutput.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStripOutput.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStripOutput.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabelOutput,
this.toolStripSplitButtonOutputBrowser});
this.toolStripOutput.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
this.toolStripOutput.Name = "toolStripOutput";
this.toolStripOutput.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
this.toolStripOutput.Click += new System.EventHandler(this.toolStripOutput_Click);
this.toolStripOutput.TabStop = true;
this.toolStripOutput.Click += new System.EventHandler(this.toolStripOutput_Click);
//
// toolStripLabelOutput
//
@@ -898,7 +894,6 @@ namespace JDP {
this.toolStripMenu.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
resources.ApplyResources(this.toolStripMenu, "toolStripMenu");
this.toolStripMenu.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStripMenu.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripDropDownButtonProfile,
this.toolStripSeparator3,
@@ -997,7 +992,6 @@ namespace JDP {
//
// contextMenuStripFileTree
//
this.contextMenuStripFileTree.ImageScalingSize = new System.Drawing.Size(24, 24);
this.contextMenuStripFileTree.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.SelectedNodeName,
this.toolStripSeparator2,

File diff suppressed because it is too large Load Diff