GUI: Change Edit Text dialog to not use Calibri

This commit is contained in:
UnknownShadow200 2024-04-28 17:27:45 +10:00
parent 2c0ed3afbf
commit 8d892df7d7
4 changed files with 1 additions and 4 deletions

View File

@ -27,7 +27,6 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(200, 200);
this.Controls.Add(this.btnCancel);
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Load += new System.EventHandler(this.ColorSelector_Load);
this.MaximizeBox = false;

View File

@ -95,7 +95,6 @@ namespace MCGalaxy.Gui.Popups
this.Controls.Add(this.btnColor);
this.Controls.Add(this.txtEdit);
this.Controls.Add(this.cmbList);
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Load += new System.EventHandler(this.EditText_Load);
this.MaximizeBox = false;

View File

@ -29,7 +29,6 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(200, 200);
this.Controls.Add(this.btnCancel);
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Load += new System.EventHandler(this.TokenSelector_Load);
this.MaximizeBox = false;

View File

@ -278,7 +278,7 @@ namespace MCGalaxy
#if MCG_STANDALONE
// Server.RestartPath is empty in self contained builds
// TODO maybe move this elsewhere?
if (string.IsNullOrEmpty(path) path = GetRuntimeProcessExePath();
if (string.IsNullOrEmpty(path)) path = GetRuntimeProcessExePath();
#endif
return path;