From 9e9d449f9397355945b3b3ffcc28b3f38d28773b Mon Sep 17 00:00:00 2001 From: niksedk Date: Sun, 14 Sep 2014 19:49:14 +0200 Subject: [PATCH] minor alignment fix --- src/Forms/DCinemaPropertiesSmpte.Designer.cs | 254 ++++++++----------- src/Forms/DCinemaPropertiesSmpte.resx | 6 +- 2 files changed, 109 insertions(+), 151 deletions(-) diff --git a/src/Forms/DCinemaPropertiesSmpte.Designer.cs b/src/Forms/DCinemaPropertiesSmpte.Designer.cs index 6c37799c6..93edbe7a2 100644 --- a/src/Forms/DCinemaPropertiesSmpte.Designer.cs +++ b/src/Forms/DCinemaPropertiesSmpte.Designer.cs @@ -29,6 +29,8 @@ private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown(); + this.labelStartTime = new System.Windows.Forms.Label(); this.comboBoxTimeCodeRate = new System.Windows.Forms.ComboBox(); this.labelTimeCodeRate = new System.Windows.Forms.Label(); this.textBoxEditRate = new System.Windows.Forms.TextBox(); @@ -41,6 +43,7 @@ this.buttonGenerateID = new System.Windows.Forms.Button(); this.numericUpDownReelNumber = new System.Windows.Forms.NumericUpDown(); this.groupBoxFont = new System.Windows.Forms.GroupBox(); + this.buttonGenFontUri = new System.Windows.Forms.Button(); this.numericUpDownTopBottomMargin = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.panelFontEffectColor = new System.Windows.Forms.Panel(); @@ -65,9 +68,6 @@ this.buttonCancel = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); - this.labelStartTime = new System.Windows.Forms.Label(); - this.buttonGenFontUri = new System.Windows.Forms.Button(); - this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownReelNumber)).BeginInit(); this.groupBoxFont.SuspendLayout(); @@ -99,14 +99,30 @@ this.groupBox1.Controls.Add(this.labelMovieTitle); this.groupBox1.Controls.Add(this.textBoxSubtitleID); this.groupBox1.Controls.Add(this.labelSubtitleID); - this.groupBox1.Location = new System.Drawing.Point(16, 15); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4); + this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4); - this.groupBox1.Size = new System.Drawing.Size(777, 557); + this.groupBox1.Size = new System.Drawing.Size(583, 453); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // + // timeUpDownStartTime + // + this.timeUpDownStartTime.AutoSize = true; + this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.timeUpDownStartTime.Location = new System.Drawing.Point(181, 214); + this.timeUpDownStartTime.Name = "timeUpDownStartTime"; + this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 24); + this.timeUpDownStartTime.TabIndex = 8; + // + // labelStartTime + // + this.labelStartTime.AutoSize = true; + this.labelStartTime.Location = new System.Drawing.Point(15, 214); + this.labelStartTime.Name = "labelStartTime"; + this.labelStartTime.Size = new System.Drawing.Size(51, 13); + this.labelStartTime.TabIndex = 39; + this.labelStartTime.Text = "Start time"; + // // comboBoxTimeCodeRate // this.comboBoxTimeCodeRate.FormattingEnabled = true; @@ -115,48 +131,43 @@ "25", "30", "48"}); - this.comboBoxTimeCodeRate.Location = new System.Drawing.Point(241, 228); - this.comboBoxTimeCodeRate.Margin = new System.Windows.Forms.Padding(4); + this.comboBoxTimeCodeRate.Location = new System.Drawing.Point(181, 185); this.comboBoxTimeCodeRate.Name = "comboBoxTimeCodeRate"; - this.comboBoxTimeCodeRate.Size = new System.Drawing.Size(148, 24); + this.comboBoxTimeCodeRate.Size = new System.Drawing.Size(112, 21); this.comboBoxTimeCodeRate.TabIndex = 7; // // labelTimeCodeRate // this.labelTimeCodeRate.AutoSize = true; - this.labelTimeCodeRate.Location = new System.Drawing.Point(20, 231); - this.labelTimeCodeRate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelTimeCodeRate.Location = new System.Drawing.Point(15, 188); this.labelTimeCodeRate.Name = "labelTimeCodeRate"; - this.labelTimeCodeRate.Size = new System.Drawing.Size(103, 17); + this.labelTimeCodeRate.Size = new System.Drawing.Size(78, 13); this.labelTimeCodeRate.TabIndex = 37; this.labelTimeCodeRate.Text = "Time code rate"; // // textBoxEditRate // - this.textBoxEditRate.Location = new System.Drawing.Point(241, 198); - this.textBoxEditRate.Margin = new System.Windows.Forms.Padding(4); + this.textBoxEditRate.Location = new System.Drawing.Point(181, 161); this.textBoxEditRate.Name = "textBoxEditRate"; - this.textBoxEditRate.Size = new System.Drawing.Size(148, 22); + this.textBoxEditRate.Size = new System.Drawing.Size(112, 20); this.textBoxEditRate.TabIndex = 6; this.textBoxEditRate.Text = "1 24"; // // labelEditRate // this.labelEditRate.AutoSize = true; - this.labelEditRate.Location = new System.Drawing.Point(20, 201); - this.labelEditRate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelEditRate.Location = new System.Drawing.Point(15, 163); this.labelEditRate.Name = "labelEditRate"; - this.labelEditRate.Size = new System.Drawing.Size(61, 17); + this.labelEditRate.Size = new System.Drawing.Size(46, 13); this.labelEditRate.TabIndex = 35; this.labelEditRate.Text = "Edit rate"; // // buttonToday // this.buttonToday.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonToday.Location = new System.Drawing.Point(615, 165); - this.buttonToday.Margin = new System.Windows.Forms.Padding(4); + this.buttonToday.Location = new System.Drawing.Point(461, 134); this.buttonToday.Name = "buttonToday"; - this.buttonToday.Size = new System.Drawing.Size(133, 26); + this.buttonToday.Size = new System.Drawing.Size(100, 21); this.buttonToday.TabIndex = 5; this.buttonToday.Text = "Now"; this.buttonToday.UseVisualStyleBackColor = true; @@ -164,49 +175,44 @@ // // textBoxIssueDate // - this.textBoxIssueDate.Location = new System.Drawing.Point(241, 166); - this.textBoxIssueDate.Margin = new System.Windows.Forms.Padding(4); + this.textBoxIssueDate.Location = new System.Drawing.Point(181, 135); this.textBoxIssueDate.Name = "textBoxIssueDate"; - this.textBoxIssueDate.Size = new System.Drawing.Size(364, 22); + this.textBoxIssueDate.Size = new System.Drawing.Size(274, 20); this.textBoxIssueDate.TabIndex = 4; this.textBoxIssueDate.Text = "2005-07-14T21:52:02.000-00:00"; // // labelIssueDate // this.labelIssueDate.AutoSize = true; - this.labelIssueDate.Location = new System.Drawing.Point(20, 170); - this.labelIssueDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelIssueDate.Location = new System.Drawing.Point(15, 138); this.labelIssueDate.Name = "labelIssueDate"; - this.labelIssueDate.Size = new System.Drawing.Size(73, 17); + this.labelIssueDate.Size = new System.Drawing.Size(56, 13); this.labelIssueDate.TabIndex = 32; this.labelIssueDate.Text = "Issue date"; // // comboBoxLanguage // this.comboBoxLanguage.FormattingEnabled = true; - this.comboBoxLanguage.Location = new System.Drawing.Point(241, 133); - this.comboBoxLanguage.Margin = new System.Windows.Forms.Padding(4); + this.comboBoxLanguage.Location = new System.Drawing.Point(181, 108); this.comboBoxLanguage.Name = "comboBoxLanguage"; - this.comboBoxLanguage.Size = new System.Drawing.Size(148, 24); + this.comboBoxLanguage.Size = new System.Drawing.Size(112, 21); this.comboBoxLanguage.TabIndex = 3; // // labelLanguage // this.labelLanguage.AutoSize = true; - this.labelLanguage.Location = new System.Drawing.Point(20, 137); - this.labelLanguage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelLanguage.Location = new System.Drawing.Point(15, 111); this.labelLanguage.Name = "labelLanguage"; - this.labelLanguage.Size = new System.Drawing.Size(72, 17); + this.labelLanguage.Size = new System.Drawing.Size(55, 13); this.labelLanguage.TabIndex = 30; this.labelLanguage.Text = "Language"; // // buttonGenerateID // this.buttonGenerateID.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonGenerateID.Location = new System.Drawing.Point(615, 36); - this.buttonGenerateID.Margin = new System.Windows.Forms.Padding(4); + this.buttonGenerateID.Location = new System.Drawing.Point(461, 29); this.buttonGenerateID.Name = "buttonGenerateID"; - this.buttonGenerateID.Size = new System.Drawing.Size(133, 26); + this.buttonGenerateID.Size = new System.Drawing.Size(100, 21); this.buttonGenerateID.TabIndex = 1; this.buttonGenerateID.Text = "Generate ID"; this.buttonGenerateID.UseVisualStyleBackColor = true; @@ -214,8 +220,7 @@ // // numericUpDownReelNumber // - this.numericUpDownReelNumber.Location = new System.Drawing.Point(241, 101); - this.numericUpDownReelNumber.Margin = new System.Windows.Forms.Padding(4); + this.numericUpDownReelNumber.Location = new System.Drawing.Point(181, 82); this.numericUpDownReelNumber.Maximum = new decimal(new int[] { 250, 0, @@ -227,7 +232,7 @@ 0, 0}); this.numericUpDownReelNumber.Name = "numericUpDownReelNumber"; - this.numericUpDownReelNumber.Size = new System.Drawing.Size(149, 22); + this.numericUpDownReelNumber.Size = new System.Drawing.Size(112, 20); this.numericUpDownReelNumber.TabIndex = 2; this.numericUpDownReelNumber.Value = new decimal(new int[] { 1, @@ -257,19 +262,27 @@ this.groupBoxFont.Controls.Add(this.labelFontId); this.groupBoxFont.Controls.Add(this.textBoxFontUri); this.groupBoxFont.Controls.Add(this.labelFontUri); - this.groupBoxFont.Location = new System.Drawing.Point(8, 292); - this.groupBoxFont.Margin = new System.Windows.Forms.Padding(4); + this.groupBoxFont.Location = new System.Drawing.Point(6, 237); this.groupBoxFont.Name = "groupBoxFont"; - this.groupBoxFont.Padding = new System.Windows.Forms.Padding(4); - this.groupBoxFont.Size = new System.Drawing.Size(761, 254); + this.groupBoxFont.Size = new System.Drawing.Size(571, 206); this.groupBoxFont.TabIndex = 9; this.groupBoxFont.TabStop = false; this.groupBoxFont.Text = "Font"; // + // buttonGenFontUri + // + this.buttonGenFontUri.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.buttonGenFontUri.Location = new System.Drawing.Point(454, 41); + this.buttonGenFontUri.Name = "buttonGenFontUri"; + this.buttonGenFontUri.Size = new System.Drawing.Size(100, 21); + this.buttonGenFontUri.TabIndex = 2; + this.buttonGenFontUri.Text = "Generate"; + this.buttonGenFontUri.UseVisualStyleBackColor = true; + this.buttonGenFontUri.Click += new System.EventHandler(this.button1_Click); + // // numericUpDownTopBottomMargin // - this.numericUpDownTopBottomMargin.Location = new System.Drawing.Point(233, 217); - this.numericUpDownTopBottomMargin.Margin = new System.Windows.Forms.Padding(4); + this.numericUpDownTopBottomMargin.Location = new System.Drawing.Point(175, 176); this.numericUpDownTopBottomMargin.Maximum = new decimal(new int[] { 50, 0, @@ -281,7 +294,7 @@ 0, 0}); this.numericUpDownTopBottomMargin.Name = "numericUpDownTopBottomMargin"; - this.numericUpDownTopBottomMargin.Size = new System.Drawing.Size(149, 22); + this.numericUpDownTopBottomMargin.Size = new System.Drawing.Size(112, 20); this.numericUpDownTopBottomMargin.TabIndex = 9; this.numericUpDownTopBottomMargin.Value = new decimal(new int[] { 1, @@ -292,29 +305,26 @@ // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(12, 219); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Location = new System.Drawing.Point(10, 178); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(127, 17); + this.label2.Size = new System.Drawing.Size(97, 13); this.label2.TabIndex = 28; this.label2.Text = "Top/bottom margin"; // // panelFontEffectColor // this.panelFontEffectColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panelFontEffectColor.Location = new System.Drawing.Point(396, 151); - this.panelFontEffectColor.Margin = new System.Windows.Forms.Padding(4); + this.panelFontEffectColor.Location = new System.Drawing.Point(297, 123); this.panelFontEffectColor.Name = "panelFontEffectColor"; - this.panelFontEffectColor.Size = new System.Drawing.Size(27, 24); + this.panelFontEffectColor.Size = new System.Drawing.Size(21, 20); this.panelFontEffectColor.TabIndex = 7; this.panelFontEffectColor.Click += new System.EventHandler(this.buttonFontEffectColor_Click); // // buttonFontEffectColor // - this.buttonFontEffectColor.Location = new System.Drawing.Point(233, 151); - this.buttonFontEffectColor.Margin = new System.Windows.Forms.Padding(4); + this.buttonFontEffectColor.Location = new System.Drawing.Point(175, 123); this.buttonFontEffectColor.Name = "buttonFontEffectColor"; - this.buttonFontEffectColor.Size = new System.Drawing.Size(149, 26); + this.buttonFontEffectColor.Size = new System.Drawing.Size(112, 21); this.buttonFontEffectColor.TabIndex = 6; this.buttonFontEffectColor.Text = "Choose color"; this.buttonFontEffectColor.UseVisualStyleBackColor = true; @@ -323,19 +333,17 @@ // panelFontColor // this.panelFontColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panelFontColor.Location = new System.Drawing.Point(396, 86); - this.panelFontColor.Margin = new System.Windows.Forms.Padding(4); + this.panelFontColor.Location = new System.Drawing.Point(297, 70); this.panelFontColor.Name = "panelFontColor"; - this.panelFontColor.Size = new System.Drawing.Size(27, 24); + this.panelFontColor.Size = new System.Drawing.Size(21, 20); this.panelFontColor.TabIndex = 4; this.panelFontColor.Click += new System.EventHandler(this.buttonFontColor_Click); // // buttonFontColor // - this.buttonFontColor.Location = new System.Drawing.Point(233, 86); - this.buttonFontColor.Margin = new System.Windows.Forms.Padding(4); + this.buttonFontColor.Location = new System.Drawing.Point(175, 70); this.buttonFontColor.Name = "buttonFontColor"; - this.buttonFontColor.Size = new System.Drawing.Size(149, 26); + this.buttonFontColor.Size = new System.Drawing.Size(112, 21); this.buttonFontColor.TabIndex = 3; this.buttonFontColor.Text = "Choose color"; this.buttonFontColor.UseVisualStyleBackColor = true; @@ -344,33 +352,30 @@ // labelEffectColor // this.labelEffectColor.AutoSize = true; - this.labelEffectColor.Location = new System.Drawing.Point(8, 156); - this.labelEffectColor.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelEffectColor.Location = new System.Drawing.Point(10, 127); this.labelEffectColor.Name = "labelEffectColor"; - this.labelEffectColor.Size = new System.Drawing.Size(79, 17); + this.labelEffectColor.Size = new System.Drawing.Size(61, 13); this.labelEffectColor.TabIndex = 27; this.labelEffectColor.Text = "Effect color"; // // numericUpDownFontSize // - this.numericUpDownFontSize.Location = new System.Drawing.Point(233, 185); - this.numericUpDownFontSize.Margin = new System.Windows.Forms.Padding(4); + this.numericUpDownFontSize.Location = new System.Drawing.Point(175, 150); this.numericUpDownFontSize.Maximum = new decimal(new int[] { 250, 0, 0, 0}); this.numericUpDownFontSize.Name = "numericUpDownFontSize"; - this.numericUpDownFontSize.Size = new System.Drawing.Size(149, 22); + this.numericUpDownFontSize.Size = new System.Drawing.Size(112, 20); this.numericUpDownFontSize.TabIndex = 8; // // labelFontSize // this.labelFontSize.AutoSize = true; - this.labelFontSize.Location = new System.Drawing.Point(11, 187); - this.labelFontSize.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelFontSize.Location = new System.Drawing.Point(10, 152); this.labelFontSize.Name = "labelFontSize"; - this.labelFontSize.Size = new System.Drawing.Size(35, 17); + this.labelFontSize.Size = new System.Drawing.Size(27, 13); this.labelFontSize.TabIndex = 25; this.labelFontSize.Text = "Size"; // @@ -382,115 +387,103 @@ "None", "Border", "Shadow"}); - this.comboBoxFontEffect.Location = new System.Drawing.Point(233, 119); - this.comboBoxFontEffect.Margin = new System.Windows.Forms.Padding(4); + this.comboBoxFontEffect.Location = new System.Drawing.Point(175, 97); this.comboBoxFontEffect.Name = "comboBoxFontEffect"; - this.comboBoxFontEffect.Size = new System.Drawing.Size(148, 24); + this.comboBoxFontEffect.Size = new System.Drawing.Size(112, 21); this.comboBoxFontEffect.TabIndex = 5; // // labelEffect // this.labelEffect.AutoSize = true; - this.labelEffect.Location = new System.Drawing.Point(12, 123); - this.labelEffect.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelEffect.Location = new System.Drawing.Point(10, 100); this.labelEffect.Name = "labelEffect"; - this.labelEffect.Size = new System.Drawing.Size(44, 17); + this.labelEffect.Size = new System.Drawing.Size(35, 13); this.labelEffect.TabIndex = 22; this.labelEffect.Text = "Effect"; // // labelFontColor // this.labelFontColor.AutoSize = true; - this.labelFontColor.Location = new System.Drawing.Point(12, 91); - this.labelFontColor.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelFontColor.Location = new System.Drawing.Point(10, 74); this.labelFontColor.Name = "labelFontColor"; - this.labelFontColor.Size = new System.Drawing.Size(41, 17); + this.labelFontColor.Size = new System.Drawing.Size(31, 13); this.labelFontColor.TabIndex = 18; this.labelFontColor.Text = "Color"; // // textBoxFontID // - this.textBoxFontID.Location = new System.Drawing.Point(233, 23); - this.textBoxFontID.Margin = new System.Windows.Forms.Padding(4); + this.textBoxFontID.Location = new System.Drawing.Point(175, 19); this.textBoxFontID.Name = "textBoxFontID"; - this.textBoxFontID.Size = new System.Drawing.Size(364, 22); + this.textBoxFontID.Size = new System.Drawing.Size(274, 20); this.textBoxFontID.TabIndex = 0; this.textBoxFontID.Text = "Freds_Font"; // // labelFontId // this.labelFontId.AutoSize = true; - this.labelFontId.Location = new System.Drawing.Point(12, 27); - this.labelFontId.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelFontId.Location = new System.Drawing.Point(10, 22); this.labelFontId.Name = "labelFontId"; - this.labelFontId.Size = new System.Drawing.Size(21, 17); + this.labelFontId.Size = new System.Drawing.Size(18, 13); this.labelFontId.TabIndex = 16; this.labelFontId.Text = "ID"; // // textBoxFontUri // - this.textBoxFontUri.Location = new System.Drawing.Point(233, 55); - this.textBoxFontUri.Margin = new System.Windows.Forms.Padding(4); + this.textBoxFontUri.Location = new System.Drawing.Point(175, 45); this.textBoxFontUri.Name = "textBoxFontUri"; - this.textBoxFontUri.Size = new System.Drawing.Size(364, 22); + this.textBoxFontUri.Size = new System.Drawing.Size(274, 20); this.textBoxFontUri.TabIndex = 1; this.textBoxFontUri.Text = "Fred.ttf"; // // labelFontUri // this.labelFontUri.AutoSize = true; - this.labelFontUri.Location = new System.Drawing.Point(12, 59); - this.labelFontUri.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelFontUri.Location = new System.Drawing.Point(10, 48); this.labelFontUri.Name = "labelFontUri"; - this.labelFontUri.Size = new System.Drawing.Size(31, 17); + this.labelFontUri.Size = new System.Drawing.Size(26, 13); this.labelFontUri.TabIndex = 14; this.labelFontUri.Text = "URI"; // // labelReelNumber // this.labelReelNumber.AutoSize = true; - this.labelReelNumber.Location = new System.Drawing.Point(20, 105); - this.labelReelNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelReelNumber.Location = new System.Drawing.Point(15, 85); this.labelReelNumber.Name = "labelReelNumber"; - this.labelReelNumber.Size = new System.Drawing.Size(89, 17); + this.labelReelNumber.Size = new System.Drawing.Size(67, 13); this.labelReelNumber.TabIndex = 4; this.labelReelNumber.Text = "Reel number"; // // textBoxMovieTitle // - this.textBoxMovieTitle.Location = new System.Drawing.Point(241, 69); - this.textBoxMovieTitle.Margin = new System.Windows.Forms.Padding(4); + this.textBoxMovieTitle.Location = new System.Drawing.Point(181, 56); this.textBoxMovieTitle.Name = "textBoxMovieTitle"; - this.textBoxMovieTitle.Size = new System.Drawing.Size(364, 22); + this.textBoxMovieTitle.Size = new System.Drawing.Size(274, 20); this.textBoxMovieTitle.TabIndex = 2; this.textBoxMovieTitle.Text = "Bedtime For Bonzo"; // // labelMovieTitle // this.labelMovieTitle.AutoSize = true; - this.labelMovieTitle.Location = new System.Drawing.Point(20, 73); - this.labelMovieTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelMovieTitle.Location = new System.Drawing.Point(15, 59); this.labelMovieTitle.Name = "labelMovieTitle"; - this.labelMovieTitle.Size = new System.Drawing.Size(71, 17); + this.labelMovieTitle.Size = new System.Drawing.Size(55, 13); this.labelMovieTitle.TabIndex = 2; this.labelMovieTitle.Text = "Movie title"; // // textBoxSubtitleID // - this.textBoxSubtitleID.Location = new System.Drawing.Point(241, 37); - this.textBoxSubtitleID.Margin = new System.Windows.Forms.Padding(4); + this.textBoxSubtitleID.Location = new System.Drawing.Point(181, 30); this.textBoxSubtitleID.Name = "textBoxSubtitleID"; - this.textBoxSubtitleID.Size = new System.Drawing.Size(364, 22); + this.textBoxSubtitleID.Size = new System.Drawing.Size(274, 20); this.textBoxSubtitleID.TabIndex = 0; this.textBoxSubtitleID.Text = "40950d85-63eb-4ee2-b1e8-45c126601b94"; // // labelSubtitleID // this.labelSubtitleID.AutoSize = true; - this.labelSubtitleID.Location = new System.Drawing.Point(20, 41); - this.labelSubtitleID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelSubtitleID.Location = new System.Drawing.Point(15, 33); this.labelSubtitleID.Name = "labelSubtitleID"; - this.labelSubtitleID.Size = new System.Drawing.Size(72, 17); + this.labelSubtitleID.Size = new System.Drawing.Size(56, 13); this.labelSubtitleID.TabIndex = 0; this.labelSubtitleID.Text = "Subtitle ID"; // @@ -498,10 +491,9 @@ // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonCancel.Location = new System.Drawing.Point(695, 579); - this.buttonCancel.Margin = new System.Windows.Forms.Padding(4); + this.buttonCancel.Location = new System.Drawing.Point(521, 470); this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(100, 26); + this.buttonCancel.Size = new System.Drawing.Size(75, 21); this.buttonCancel.TabIndex = 2; this.buttonCancel.Text = "C&ancel"; this.buttonCancel.UseVisualStyleBackColor = true; @@ -511,58 +503,24 @@ // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonOK.Location = new System.Drawing.Point(587, 579); - this.buttonOK.Margin = new System.Windows.Forms.Padding(4); + this.buttonOK.Location = new System.Drawing.Point(440, 470); this.buttonOK.Name = "buttonOK"; - this.buttonOK.Size = new System.Drawing.Size(100, 26); + this.buttonOK.Size = new System.Drawing.Size(75, 21); this.buttonOK.TabIndex = 1; this.buttonOK.Text = "&OK"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click_1); // - // labelStartTime - // - this.labelStartTime.AutoSize = true; - this.labelStartTime.Location = new System.Drawing.Point(21, 263); - this.labelStartTime.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelStartTime.Name = "labelStartTime"; - this.labelStartTime.Size = new System.Drawing.Size(68, 17); - this.labelStartTime.TabIndex = 39; - this.labelStartTime.Text = "Start time"; - // - // buttonGenFontUri - // - this.buttonGenFontUri.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.buttonGenFontUri.Location = new System.Drawing.Point(605, 50); - this.buttonGenFontUri.Margin = new System.Windows.Forms.Padding(4); - this.buttonGenFontUri.Name = "buttonGenFontUri"; - this.buttonGenFontUri.Size = new System.Drawing.Size(133, 26); - this.buttonGenFontUri.TabIndex = 2; - this.buttonGenFontUri.Text = "Generate"; - this.buttonGenFontUri.UseVisualStyleBackColor = true; - this.buttonGenFontUri.Click += new System.EventHandler(this.button1_Click); - // - // timeUpDownStartTime - // - this.timeUpDownStartTime.AutoSize = true; - this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.timeUpDownStartTime.Location = new System.Drawing.Point(241, 263); - this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.timeUpDownStartTime.Name = "timeUpDownStartTime"; - this.timeUpDownStartTime.Size = new System.Drawing.Size(123, 27); - this.timeUpDownStartTime.TabIndex = 8; - // // DCinemaPropertiesSmpte // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(809, 620); + this.ClientSize = new System.Drawing.Size(607, 504); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; - this.Margin = new System.Windows.Forms.Padding(4); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DCinemaPropertiesSmpte"; diff --git a/src/Forms/DCinemaPropertiesSmpte.resx b/src/Forms/DCinemaPropertiesSmpte.resx index 6b9605b48..a48021224 100644 --- a/src/Forms/DCinemaPropertiesSmpte.resx +++ b/src/Forms/DCinemaPropertiesSmpte.resx @@ -112,12 +112,12 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 17, 17 \ No newline at end of file