mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
parent
afb21eaddc
commit
5476733383
@ -43,7 +43,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
|
||||
BorderStyle = BorderStyle.None;
|
||||
Padding = new Padding(1);
|
||||
BackColor = SystemColors.ActiveBorder;
|
||||
BackColor = SystemColors.WindowFrame;
|
||||
|
||||
Controls.Clear();
|
||||
_textBox?.Dispose();
|
||||
@ -81,7 +81,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
Controls.Add(textBox);
|
||||
textBox.Dock = DockStyle.Fill;
|
||||
textBox.Enter += (sender, args) => { BackColor = SystemColors.Highlight; };
|
||||
textBox.Leave += (sender, args) => { BackColor = SystemColors.ActiveBorder; };
|
||||
textBox.Leave += (sender, args) => { BackColor = SystemColors.WindowFrame; };
|
||||
textBox.TextChanged += (sender, args) => { TextChanged?.Invoke(sender, args); };
|
||||
}
|
||||
|
||||
|
@ -4740,8 +4740,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
textBoxListViewText.Initialize(Configuration.Settings.General.SubtitleTextBoxSyntaxColor);
|
||||
textBoxListViewTextAlternate.Initialize(Configuration.Settings.General.SubtitleTextBoxSyntaxColor);
|
||||
textBoxListViewText.BackColor = SystemColors.ActiveBorder;
|
||||
textBoxListViewTextAlternate.BackColor = SystemColors.ActiveBorder;
|
||||
textBoxListViewText.BackColor = SystemColors.WindowFrame;
|
||||
textBoxListViewTextAlternate.BackColor = SystemColors.WindowFrame;
|
||||
RefreshSelectedParagraph();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user