Fixed glitch with "line numbers" panel

This commit is contained in:
Alexander 2019-08-23 23:46:11 +03:00
parent 7ffdf8a0a6
commit a3f4d4b06d
2 changed files with 2 additions and 1 deletions

View file

@ -919,8 +919,8 @@ public void InitializeComponent()
this.ClientSize = new System.Drawing.Size(513, 318);
this.Controls.Add(this.RichTextBox);
this.Controls.Add(this.LineNumbers_For_RichTextBox);
this.Controls.Add(this.SearchPanel);
this.Controls.Add(this.ToolbarPanel);
this.Controls.Add(this.SearchPanel);
this.Controls.Add(this.MainMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

View file

@ -629,6 +629,7 @@ private void MainWindow_Activated(object sender, EventArgs e)
if (ps.ShowToolbar && !ToolbarPanel.Visible)
{
ToolbarPanel.Visible = true;
LineNumbers_For_RichTextBox.Height = 1;
}
MenuIcons();