Debugger: Reduced minimum size for main debugger window
This commit is contained in:
parent
23f96df5b7
commit
47265b757a
4 changed files with 18 additions and 3 deletions
2
GUI.NET/Debugger/frmDebugger.Designer.cs
generated
2
GUI.NET/Debugger/frmDebugger.Designer.cs
generated
|
@ -1737,7 +1737,7 @@ namespace Mesen.GUI.Debugger
|
|||
this.Controls.Add(this.tsToolbar);
|
||||
this.Controls.Add(this.menuStrip);
|
||||
this.MainMenuStrip = this.menuStrip;
|
||||
this.MinimumSize = new System.Drawing.Size(1000, 725);
|
||||
this.MinimumSize = new System.Drawing.Size(850, 685);
|
||||
this.Name = "frmDebugger";
|
||||
this.Text = "Debugger";
|
||||
this.splitContainer.Panel1.ResumeLayout(false);
|
||||
|
|
|
@ -1403,5 +1403,22 @@ namespace Mesen.GUI.Debugger
|
|||
{
|
||||
InteropEmu.PowerCycle();
|
||||
}
|
||||
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
|
||||
if(lblPrgAnalysis != null) {
|
||||
if(this.Width - this._minimumSize.Width < 100) {
|
||||
if(lblPrgAnalysis.Text != "PRG:") {
|
||||
lblPrgAnalysis.Text = "PRG:";
|
||||
lblChrAnalysis.Text = "CHR:";
|
||||
}
|
||||
} else if(lblPrgAnalysis.Text == "PRG:") {
|
||||
lblPrgAnalysis.Text = "PRG analysis:";
|
||||
lblChrAnalysis.Text = "CHR analysis:";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
1
GUI.NET/Forms/BaseConfigForm.Designer.cs
generated
1
GUI.NET/Forms/BaseConfigForm.Designer.cs
generated
|
@ -94,7 +94,6 @@ namespace Mesen.GUI.Forms
|
|||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(327, 262);
|
||||
this.Controls.Add(this.baseConfigPanel);
|
||||
this.Name = "BaseConfigForm";
|
||||
this.baseConfigPanel.ResumeLayout(false);
|
||||
|
|
|
@ -228,7 +228,6 @@ namespace Mesen.GUI.Forms
|
|||
//
|
||||
// BaseForm
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(284, 262);
|
||||
this.Name = "BaseForm";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue