summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/C#/Controls/PictureSettings.Designer.cs1
-rw-r--r--win/C#/Controls/PictureSettings.cs8
-rw-r--r--win/C#/frmPreview.Designer.cs9
3 files changed, 13 insertions, 5 deletions
diff --git a/win/C#/Controls/PictureSettings.Designer.cs b/win/C#/Controls/PictureSettings.Designer.cs
index 853d61982..30a893392 100644
--- a/win/C#/Controls/PictureSettings.Designer.cs
+++ b/win/C#/Controls/PictureSettings.Designer.cs
@@ -386,6 +386,7 @@ namespace Handbrake.Controls
this.lbl_max.Size = new System.Drawing.Size(15, 13);
this.lbl_max.TabIndex = 83;
this.lbl_max.Text = "--";
+ this.lbl_max.DoubleClick += new System.EventHandler(this.lbl_max_DoubleClick);
//
// label4
//
diff --git a/win/C#/Controls/PictureSettings.cs b/win/C#/Controls/PictureSettings.cs
index eed7ba560..70273cc64 100644
--- a/win/C#/Controls/PictureSettings.cs
+++ b/win/C#/Controls/PictureSettings.cs
@@ -489,5 +489,13 @@ namespace Handbrake.Controls
if (remainder == 0) return value;
return (value + remainder);
}
+
+ // Hidden UI feature to drop the MaxWidth / Height with the MaxWidth/Height label is double clicked
+ private void lbl_max_DoubleClick(object sender, EventArgs e)
+ {
+ PresetMaximumResolution = new Size(0,0);
+ if (PictureSettingsChanged != null)
+ PictureSettingsChanged(this, new EventArgs());
+ }
}
} \ No newline at end of file
diff --git a/win/C#/frmPreview.Designer.cs b/win/C#/frmPreview.Designer.cs
index cbbf5e539..14a90a937 100644
--- a/win/C#/frmPreview.Designer.cs
+++ b/win/C#/frmPreview.Designer.cs
@@ -68,7 +68,7 @@
//
this.lbl_preview.BackColor = System.Drawing.Color.Transparent;
this.lbl_preview.Name = "lbl_preview";
- this.lbl_preview.Size = new System.Drawing.Size(91, 22);
+ this.lbl_preview.Size = new System.Drawing.Size(89, 22);
this.lbl_preview.Text = "Start at Preview:";
//
// cb_preview
@@ -95,7 +95,7 @@
//
this.toolStripLabel2.BackColor = System.Drawing.Color.Transparent;
this.toolStripLabel2.Name = "toolStripLabel2";
- this.toolStripLabel2.Size = new System.Drawing.Size(107, 22);
+ this.toolStripLabel2.Size = new System.Drawing.Size(98, 22);
this.toolStripLabel2.Text = "Duration (seconds)";
//
// cb_duration
@@ -127,7 +127,7 @@
this.btn_playQT.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btn_playQT.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btn_playQT.Name = "btn_playQT";
- this.btn_playQT.Size = new System.Drawing.Size(96, 22);
+ this.btn_playQT.Size = new System.Drawing.Size(89, 22);
this.btn_playQT.Text = "Play with QT";
this.btn_playQT.Click += new System.EventHandler(this.btn_playQT_Click);
//
@@ -137,7 +137,7 @@
this.btn_playVLC.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btn_playVLC.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btn_playVLC.Name = "btn_playVLC";
- this.btn_playVLC.Size = new System.Drawing.Size(101, 22);
+ this.btn_playVLC.Size = new System.Drawing.Size(93, 22);
this.btn_playVLC.Text = "Play with VLC";
this.btn_playVLC.Click += new System.EventHandler(this.btn_playVLC_Click);
//
@@ -188,7 +188,6 @@
this.Name = "frmPreview";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Video Preview";
- this.TopMost = true;
this.toolBar.ResumeLayout(false);
this.toolBar.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.QTControl)).EndInit();