1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-12 14:34:08 +02:00

Change font and check for null in CEF argument dialog

This commit is contained in:
chylex 2016-08-10 15:03:15 +02:00
parent 353ac7c76b
commit e4f5766ffb
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ private void InitializeComponent() {
this.textBoxArgs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxArgs.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.textBoxArgs.Location = new System.Drawing.Point(12, 28);
this.textBoxArgs.Multiline = true;
this.textBoxArgs.Name = "textBoxArgs";

View File

@ -16,7 +16,7 @@ public DialogSettingsCefArgs(){
Text = Program.BrandName+" Settings - CEF Arguments";
textBoxArgs.Text = Program.UserConfig.CustomCefArgs;
textBoxArgs.Text = Program.UserConfig.CustomCefArgs ?? "";
textBoxArgs.Select(textBoxArgs.Text.Length,0);
}