More spell check font size...

This commit is contained in:
niksedk 2022-09-24 13:45:11 +02:00
parent 23da076687
commit fcad01bc4c
3 changed files with 18 additions and 15 deletions

View File

@ -21,6 +21,7 @@
* Add "Allow overlap" in "Change speed" - thx OmrSi
* Add bookmarks to spell check dialog - thx cyzs233/OmrSi
* Add dictate shortcut for main text box - thx Xenos71
* Change spell check window font size via context menu - thx Marko G
* IMPROVED:
* Update Polish translation - thx admas
* Update Bulgarian translation - thx Калин

View File

@ -28,6 +28,8 @@
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bookmarkCommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.openImagedBasedSourceFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.useLargerFontForThisWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.listBoxSuggestions = new System.Windows.Forms.ListBox();
this.labelFullText = new System.Windows.Forms.Label();
this.textBoxWord = new System.Windows.Forms.TextBox();
@ -54,8 +56,6 @@
this.pictureBoxBookmark = new System.Windows.Forms.PictureBox();
this.panelBookmark = new System.Windows.Forms.Panel();
this.labelBookmark = new System.Windows.Forms.Label();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.useLargerFontForThisWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.useLargerFontForThisWindowToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip1.SuspendLayout();
@ -179,6 +179,18 @@
this.openImagedBasedSourceFileToolStripMenuItem.Text = "Open imaged based source file...";
this.openImagedBasedSourceFileToolStripMenuItem.Click += new System.EventHandler(this.openImagedBasedSourceFileToolStripMenuItem_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(243, 6);
//
// useLargerFontForThisWindowToolStripMenuItem
//
this.useLargerFontForThisWindowToolStripMenuItem.Name = "useLargerFontForThisWindowToolStripMenuItem";
this.useLargerFontForThisWindowToolStripMenuItem.Size = new System.Drawing.Size(246, 22);
this.useLargerFontForThisWindowToolStripMenuItem.Text = "Use larger font for this window";
this.useLargerFontForThisWindowToolStripMenuItem.Click += new System.EventHandler(this.useLargerFontForThisWindowToolStripMenuItem_Click);
//
// listBoxSuggestions
//
this.listBoxSuggestions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@ -468,24 +480,12 @@
this.labelBookmark.TabIndex = 0;
this.labelBookmark.Text = "labelBookmark";
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(243, 6);
//
// useLargerFontForThisWindowToolStripMenuItem
//
this.useLargerFontForThisWindowToolStripMenuItem.Name = "useLargerFontForThisWindowToolStripMenuItem";
this.useLargerFontForThisWindowToolStripMenuItem.Size = new System.Drawing.Size(246, 22);
this.useLargerFontForThisWindowToolStripMenuItem.Text = "Use larger font for this window";
this.useLargerFontForThisWindowToolStripMenuItem.Click += new System.EventHandler(this.useLargerFontForThisWindowToolStripMenuItem_Click);
//
// contextMenuStrip2
//
this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.useLargerFontForThisWindowToolStripMenuItem1});
this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(237, 48);
this.contextMenuStrip2.Size = new System.Drawing.Size(237, 26);
//
// useLargerFontForThisWindowToolStripMenuItem1
//
@ -499,6 +499,7 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(713, 427);
this.ContextMenuStrip = this.contextMenuStrip2;
this.Controls.Add(this.panelBookmark);
this.Controls.Add(this.pictureBoxBookmark);
this.Controls.Add(this.buttonSpellCheckDownload);

View File

@ -1743,6 +1743,7 @@ namespace Nikse.SubtitleEdit.Forms
{
Font = useLargerFontForThisWindowToolStripMenuItem.Checked ? new Font(Font.FontFamily, Font.Size - 2, FontStyle.Regular) : new Font(Font.FontFamily, Font.Size + 2, FontStyle.Regular);
useLargerFontForThisWindowToolStripMenuItem.Checked = !useLargerFontForThisWindowToolStripMenuItem.Checked;
useLargerFontForThisWindowToolStripMenuItem1.Checked = useLargerFontForThisWindowToolStripMenuItem.Checked;
Configuration.Settings.Tools.SpellCheckUseLargerFont = useLargerFontForThisWindowToolStripMenuItem.Checked;
}
}