From 14ca2dbd6cb68a7a544a0179ae95da68cc892ccc Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Thu, 9 Nov 2017 20:03:00 +0100 Subject: [PATCH] Fix minor change casing issue + minor settings gfx issue --- src/Forms/ChangeCasing.cs | 2 +- src/Forms/Settings.Designer.cs | 64 +++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 29 deletions(-) diff --git a/src/Forms/ChangeCasing.cs b/src/Forms/ChangeCasing.cs index 3d6a7f391..f72798167 100644 --- a/src/Forms/ChangeCasing.cs +++ b/src/Forms/ChangeCasing.cs @@ -139,7 +139,7 @@ namespace Nikse.SubtitleEdit.Forms } else if (radioButtonLowercase.Checked) { - text = text.ToLower(); + text = text.ToLower(subtitleCulture); } if (original != text) _noOfLinesChanged++; diff --git a/src/Forms/Settings.Designer.cs b/src/Forms/Settings.Designer.cs index 0d57aed1b..21fa2c806 100644 --- a/src/Forms/Settings.Designer.cs +++ b/src/Forms/Settings.Designer.cs @@ -407,7 +407,7 @@ // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; - this.buttonOK.Location = new System.Drawing.Point(697, 519); + this.buttonOK.Location = new System.Drawing.Point(697, 528); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 21); this.buttonOK.TabIndex = 0; @@ -419,7 +419,7 @@ // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(778, 519); + this.buttonCancel.Location = new System.Drawing.Point(778, 528); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 21); this.buttonCancel.TabIndex = 1; @@ -445,7 +445,7 @@ this.tabControlSettings.Location = new System.Drawing.Point(13, 13); this.tabControlSettings.Name = "tabControlSettings"; this.tabControlSettings.SelectedIndex = 0; - this.tabControlSettings.Size = new System.Drawing.Size(840, 500); + this.tabControlSettings.Size = new System.Drawing.Size(840, 509); this.tabControlSettings.TabIndex = 2; this.tabControlSettings.SelectedIndexChanged += new System.EventHandler(this.TabControlSettingsSelectedIndexChanged); // @@ -455,7 +455,7 @@ this.tabPageGeneral.Location = new System.Drawing.Point(4, 22); this.tabPageGeneral.Name = "tabPageGeneral"; this.tabPageGeneral.Padding = new System.Windows.Forms.Padding(3); - this.tabPageGeneral.Size = new System.Drawing.Size(832, 474); + this.tabPageGeneral.Size = new System.Drawing.Size(832, 483); this.tabPageGeneral.TabIndex = 0; this.tabPageGeneral.Text = "General"; this.tabPageGeneral.UseVisualStyleBackColor = true; @@ -521,7 +521,7 @@ this.groupBoxMiscellaneous.Controls.Add(this.labelDefaultFrameRate); this.groupBoxMiscellaneous.Location = new System.Drawing.Point(6, 6); this.groupBoxMiscellaneous.Name = "groupBoxMiscellaneous"; - this.groupBoxMiscellaneous.Size = new System.Drawing.Size(819, 462); + this.groupBoxMiscellaneous.Size = new System.Drawing.Size(819, 471); this.groupBoxMiscellaneous.TabIndex = 0; this.groupBoxMiscellaneous.TabStop = false; this.groupBoxMiscellaneous.Text = "Miscellaneous"; @@ -1159,7 +1159,7 @@ this.tabPageShortcuts.Location = new System.Drawing.Point(4, 22); this.tabPageShortcuts.Name = "tabPageShortcuts"; this.tabPageShortcuts.Padding = new System.Windows.Forms.Padding(3); - this.tabPageShortcuts.Size = new System.Drawing.Size(832, 474); + this.tabPageShortcuts.Size = new System.Drawing.Size(832, 493); this.tabPageShortcuts.TabIndex = 8; this.tabPageShortcuts.Text = "Shortcuts"; this.tabPageShortcuts.UseVisualStyleBackColor = true; @@ -1180,15 +1180,16 @@ this.groupBoxShortcuts.Controls.Add(this.labelShortcut); this.groupBoxShortcuts.Location = new System.Drawing.Point(6, 6); this.groupBoxShortcuts.Name = "groupBoxShortcuts"; - this.groupBoxShortcuts.Size = new System.Drawing.Size(819, 456); + this.groupBoxShortcuts.Size = new System.Drawing.Size(819, 475); this.groupBoxShortcuts.TabIndex = 2; this.groupBoxShortcuts.TabStop = false; this.groupBoxShortcuts.Text = "Shortcuts"; // // buttonClearShortcut // + this.buttonClearShortcut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonClearShortcut.Enabled = false; - this.buttonClearShortcut.Location = new System.Drawing.Point(582, 427); + this.buttonClearShortcut.Location = new System.Drawing.Point(582, 446); this.buttonClearShortcut.Name = "buttonClearShortcut"; this.buttonClearShortcut.Size = new System.Drawing.Size(111, 23); this.buttonClearShortcut.TabIndex = 6; @@ -1198,6 +1199,7 @@ // // comboBoxShortcutKey // + this.comboBoxShortcutKey.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.comboBoxShortcutKey.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxShortcutKey.Enabled = false; this.comboBoxShortcutKey.FormattingEnabled = true; @@ -1336,7 +1338,7 @@ "F22", "F23", "F24"}); - this.comboBoxShortcutKey.Location = new System.Drawing.Point(353, 427); + this.comboBoxShortcutKey.Location = new System.Drawing.Point(353, 446); this.comboBoxShortcutKey.Name = "comboBoxShortcutKey"; this.comboBoxShortcutKey.Size = new System.Drawing.Size(92, 21); this.comboBoxShortcutKey.TabIndex = 4; @@ -1345,8 +1347,9 @@ // // labelShortcutKey // + this.labelShortcutKey.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelShortcutKey.AutoSize = true; - this.labelShortcutKey.Location = new System.Drawing.Point(322, 429); + this.labelShortcutKey.Location = new System.Drawing.Point(322, 448); this.labelShortcutKey.Name = "labelShortcutKey"; this.labelShortcutKey.Size = new System.Drawing.Size(25, 13); this.labelShortcutKey.TabIndex = 35; @@ -1354,9 +1357,10 @@ // // checkBoxShortcutsShift // + this.checkBoxShortcutsShift.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShortcutsShift.AutoSize = true; this.checkBoxShortcutsShift.Enabled = false; - this.checkBoxShortcutsShift.Location = new System.Drawing.Point(245, 429); + this.checkBoxShortcutsShift.Location = new System.Drawing.Point(245, 448); this.checkBoxShortcutsShift.Name = "checkBoxShortcutsShift"; this.checkBoxShortcutsShift.Size = new System.Drawing.Size(48, 17); this.checkBoxShortcutsShift.TabIndex = 3; @@ -1366,9 +1370,10 @@ // // checkBoxShortcutsAlt // + this.checkBoxShortcutsAlt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShortcutsAlt.AutoSize = true; this.checkBoxShortcutsAlt.Enabled = false; - this.checkBoxShortcutsAlt.Location = new System.Drawing.Point(176, 429); + this.checkBoxShortcutsAlt.Location = new System.Drawing.Point(176, 448); this.checkBoxShortcutsAlt.Name = "checkBoxShortcutsAlt"; this.checkBoxShortcutsAlt.Size = new System.Drawing.Size(39, 17); this.checkBoxShortcutsAlt.TabIndex = 2; @@ -1378,9 +1383,10 @@ // // checkBoxShortcutsControl // + this.checkBoxShortcutsControl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxShortcutsControl.AutoSize = true; this.checkBoxShortcutsControl.Enabled = false; - this.checkBoxShortcutsControl.Location = new System.Drawing.Point(89, 429); + this.checkBoxShortcutsControl.Location = new System.Drawing.Point(89, 448); this.checkBoxShortcutsControl.Name = "checkBoxShortcutsControl"; this.checkBoxShortcutsControl.Size = new System.Drawing.Size(61, 17); this.checkBoxShortcutsControl.TabIndex = 1; @@ -1390,8 +1396,9 @@ // // buttonUpdateShortcut // + this.buttonUpdateShortcut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonUpdateShortcut.Enabled = false; - this.buttonUpdateShortcut.Location = new System.Drawing.Point(465, 427); + this.buttonUpdateShortcut.Location = new System.Drawing.Point(465, 446); this.buttonUpdateShortcut.Name = "buttonUpdateShortcut"; this.buttonUpdateShortcut.Size = new System.Drawing.Size(111, 23); this.buttonUpdateShortcut.TabIndex = 5; @@ -1407,14 +1414,15 @@ this.treeViewShortcuts.HideSelection = false; this.treeViewShortcuts.Location = new System.Drawing.Point(16, 21); this.treeViewShortcuts.Name = "treeViewShortcuts"; - this.treeViewShortcuts.Size = new System.Drawing.Size(797, 400); + this.treeViewShortcuts.Size = new System.Drawing.Size(797, 419); this.treeViewShortcuts.TabIndex = 0; this.treeViewShortcuts.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewShortcuts_AfterSelect); // // labelShortcut // + this.labelShortcut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelShortcut.AutoSize = true; - this.labelShortcut.Location = new System.Drawing.Point(15, 429); + this.labelShortcut.Location = new System.Drawing.Point(15, 448); this.labelShortcut.Name = "labelShortcut"; this.labelShortcut.Size = new System.Drawing.Size(52, 13); this.labelShortcut.TabIndex = 3; @@ -1426,7 +1434,7 @@ this.tabPageSyntaxColoring.Location = new System.Drawing.Point(4, 22); this.tabPageSyntaxColoring.Name = "tabPageSyntaxColoring"; this.tabPageSyntaxColoring.Padding = new System.Windows.Forms.Padding(3); - this.tabPageSyntaxColoring.Size = new System.Drawing.Size(832, 474); + this.tabPageSyntaxColoring.Size = new System.Drawing.Size(832, 493); this.tabPageSyntaxColoring.TabIndex = 9; this.tabPageSyntaxColoring.Text = "Syntax coloring"; this.tabPageSyntaxColoring.UseVisualStyleBackColor = true; @@ -1445,7 +1453,7 @@ this.groupBoxListViewSyntaxColoring.Controls.Add(this.panelListViewSyntaxColorError); this.groupBoxListViewSyntaxColoring.Location = new System.Drawing.Point(6, 6); this.groupBoxListViewSyntaxColoring.Name = "groupBoxListViewSyntaxColoring"; - this.groupBoxListViewSyntaxColoring.Size = new System.Drawing.Size(820, 456); + this.groupBoxListViewSyntaxColoring.Size = new System.Drawing.Size(820, 475); this.groupBoxListViewSyntaxColoring.TabIndex = 0; this.groupBoxListViewSyntaxColoring.TabStop = false; this.groupBoxListViewSyntaxColoring.Text = "List view syntax coloring"; @@ -1527,7 +1535,7 @@ this.tabPageVideoPlayer.Location = new System.Drawing.Point(4, 22); this.tabPageVideoPlayer.Name = "tabPageVideoPlayer"; this.tabPageVideoPlayer.Padding = new System.Windows.Forms.Padding(3); - this.tabPageVideoPlayer.Size = new System.Drawing.Size(832, 474); + this.tabPageVideoPlayer.Size = new System.Drawing.Size(832, 493); this.tabPageVideoPlayer.TabIndex = 2; this.tabPageVideoPlayer.Text = "Video player"; this.tabPageVideoPlayer.UseVisualStyleBackColor = true; @@ -2077,7 +2085,7 @@ this.tabPageWaveform.Controls.Add(this.groupBoxWaveformAppearence); this.tabPageWaveform.Location = new System.Drawing.Point(4, 22); this.tabPageWaveform.Name = "tabPageWaveform"; - this.tabPageWaveform.Size = new System.Drawing.Size(832, 474); + this.tabPageWaveform.Size = new System.Drawing.Size(832, 493); this.tabPageWaveform.TabIndex = 6; this.tabPageWaveform.Text = "Waveform/spectrogram"; this.tabPageWaveform.UseVisualStyleBackColor = true; @@ -2506,7 +2514,7 @@ this.tabPageTools.Location = new System.Drawing.Point(4, 22); this.tabPageTools.Name = "tabPageTools"; this.tabPageTools.Padding = new System.Windows.Forms.Padding(3); - this.tabPageTools.Size = new System.Drawing.Size(832, 474); + this.tabPageTools.Size = new System.Drawing.Size(832, 493); this.tabPageTools.TabIndex = 5; this.tabPageTools.Text = "Tools"; this.tabPageTools.UseVisualStyleBackColor = true; @@ -2856,7 +2864,7 @@ this.tabPageWordLists.Location = new System.Drawing.Point(4, 22); this.tabPageWordLists.Name = "tabPageWordLists"; this.tabPageWordLists.Padding = new System.Windows.Forms.Padding(3); - this.tabPageWordLists.Size = new System.Drawing.Size(832, 474); + this.tabPageWordLists.Size = new System.Drawing.Size(832, 493); this.tabPageWordLists.TabIndex = 3; this.tabPageWordLists.Text = "Word lists"; this.tabPageWordLists.UseVisualStyleBackColor = true; @@ -2875,7 +2883,7 @@ this.groupBoxWordLists.Controls.Add(this.comboBoxWordListLanguage); this.groupBoxWordLists.Location = new System.Drawing.Point(6, 6); this.groupBoxWordLists.Name = "groupBoxWordLists"; - this.groupBoxWordLists.Size = new System.Drawing.Size(819, 456); + this.groupBoxWordLists.Size = new System.Drawing.Size(819, 475); this.groupBoxWordLists.TabIndex = 2; this.groupBoxWordLists.TabStop = false; this.groupBoxWordLists.Text = "Word lists"; @@ -3113,7 +3121,7 @@ this.tabPageToolBar.Location = new System.Drawing.Point(4, 22); this.tabPageToolBar.Name = "tabPageToolBar"; this.tabPageToolBar.Padding = new System.Windows.Forms.Padding(3); - this.tabPageToolBar.Size = new System.Drawing.Size(832, 474); + this.tabPageToolBar.Size = new System.Drawing.Size(832, 493); this.tabPageToolBar.TabIndex = 7; this.tabPageToolBar.Text = "Toolbar "; this.tabPageToolBar.UseVisualStyleBackColor = true; @@ -3546,7 +3554,7 @@ this.tabPageSsaStyle.Location = new System.Drawing.Point(4, 22); this.tabPageSsaStyle.Name = "tabPageSsaStyle"; this.tabPageSsaStyle.Padding = new System.Windows.Forms.Padding(3); - this.tabPageSsaStyle.Size = new System.Drawing.Size(832, 474); + this.tabPageSsaStyle.Size = new System.Drawing.Size(832, 493); this.tabPageSsaStyle.TabIndex = 1; this.tabPageSsaStyle.Text = "SSA style"; this.tabPageSsaStyle.UseVisualStyleBackColor = true; @@ -3832,7 +3840,7 @@ this.tabPageNetwork.Location = new System.Drawing.Point(4, 22); this.tabPageNetwork.Name = "tabPageNetwork"; this.tabPageNetwork.Padding = new System.Windows.Forms.Padding(3); - this.tabPageNetwork.Size = new System.Drawing.Size(832, 474); + this.tabPageNetwork.Size = new System.Drawing.Size(832, 493); this.tabPageNetwork.TabIndex = 4; this.tabPageNetwork.Text = "Network"; this.tabPageNetwork.UseVisualStyleBackColor = true; @@ -3975,7 +3983,7 @@ // this.labelStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelStatus.AutoSize = true; - this.labelStatus.Location = new System.Drawing.Point(12, 527); + this.labelStatus.Location = new System.Drawing.Point(12, 536); this.labelStatus.Name = "labelStatus"; this.labelStatus.Size = new System.Drawing.Size(60, 13); this.labelStatus.TabIndex = 3; @@ -3989,7 +3997,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(865, 552); + this.ClientSize = new System.Drawing.Size(865, 561); this.Controls.Add(this.labelStatus); this.Controls.Add(this.tabControlSettings); this.Controls.Add(this.buttonCancel);