From 5b80e67c01ba7a46b138ae08f1c484f98f0b0830 Mon Sep 17 00:00:00 2001 From: niksedk Date: Mon, 31 Jan 2011 14:30:34 +0000 Subject: [PATCH] Fixed main win splitter resize bug git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@295 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Forms/Main.Designer.cs | 2 +- src/Forms/Main.cs | 6 +++--- src/Forms/Main.resx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Forms/Main.Designer.cs b/src/Forms/Main.Designer.cs index 39379f2a3..be7aebda9 100644 --- a/src/Forms/Main.Designer.cs +++ b/src/Forms/Main.Designer.cs @@ -1215,7 +1215,6 @@ this.toolStripMenuItemVideo.Size = new System.Drawing.Size(50, 20); this.toolStripMenuItemVideo.Text = "Video"; this.toolStripMenuItemVideo.DropDownOpening += new System.EventHandler(this.toolStripMenuItemVideo_DropDownOpening); - this.toolStripMenuItemVideo.Click += new System.EventHandler(this.toolStripMenuItemVideo_Click); // // openVideoToolStripMenuItem // @@ -2907,6 +2906,7 @@ this.splitContainer1.Size = new System.Drawing.Size(1244, 283); this.splitContainer1.SplitterDistance = 950; this.splitContainer1.TabIndex = 7; + this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved); // // tabControlSubtitle // diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 74cb56026..76b97a52e 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -9087,10 +9087,10 @@ namespace Nikse.SubtitleEdit.Forms } } - private void toolStripMenuItemVideo_Click(object sender, EventArgs e) + private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) { - - } + Main_Resize(null, null); + } } } \ No newline at end of file diff --git a/src/Forms/Main.resx b/src/Forms/Main.resx index 9c287c46c..4382846f2 100644 --- a/src/Forms/Main.resx +++ b/src/Forms/Main.resx @@ -684,7 +684,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD2 - CAAAAk1TRnQBSQFMAgEBAgEAAWABAQFgAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAAXgBAQF4AQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA