ui rendering fixes for progress window

FrmProgressWindow.Designer.cs was setup for the windows being 591 wide,
but rv was forcing it to be 498 when the window was brought up.  This
was confusing mono and it was causing rendering issues.  This patch
makes it so the Designer and rv agree on the width of the window.
Additional adjustments were made to standardize the spacing between
window edge/progress bar/button, resulting in a width of 511.
This commit is contained in:
Jim Westfall
2014-11-05 13:15:20 -08:00
parent 76c4af0ec3
commit c82f688adc
2 changed files with 9 additions and 10 deletions

View File

@@ -74,7 +74,7 @@
//
// cancelButton
//
this.cancelButton.Location = new System.Drawing.Point(420, 99);
this.cancelButton.Location = new System.Drawing.Point(424, 99);
this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 2;
@@ -123,7 +123,7 @@
this.ErrorGrid.ShowCellToolTips = false;
this.ErrorGrid.ShowEditingIcon = false;
this.ErrorGrid.ShowRowErrors = false;
this.ErrorGrid.Size = new System.Drawing.Size(591, 186);
this.ErrorGrid.Size = new System.Drawing.Size(511, 186);
this.ErrorGrid.TabIndex = 6;
this.ErrorGrid.SelectionChanged += new System.EventHandler(this.ErrorGridSelectionChanged);
//
@@ -165,7 +165,7 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.ErrorGrid);
this.splitContainer1.Size = new System.Drawing.Size(591, 320);
this.splitContainer1.Size = new System.Drawing.Size(511, 320);
this.splitContainer1.SplitterDistance = 130;
this.splitContainer1.TabIndex = 8;
//
@@ -184,9 +184,8 @@
//
// FrmProgressWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(591, 320);
this.ClientSize = new System.Drawing.Size(511, 320);
this.Controls.Add(this.splitContainer1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FrmProgressWindow";

View File

@@ -26,7 +26,7 @@ namespace ROMVault2
_titleRoot = titleRoot;
InitializeComponent();
ClientSize = new Size(498, 131);
ClientSize = new Size(511, 131);
_titleRoot = titleRoot;
@@ -128,8 +128,8 @@ namespace ROMVault2
if (!_errorOpen)
{
_errorOpen = true;
ClientSize = new Size(498, 292);
MinimumSize = new Size(498, 292);
ClientSize = new Size(511, 292);
MinimumSize = new Size(511, 292);
FormBorderStyle = FormBorderStyle.SizableToolWindow;
}
@@ -153,8 +153,8 @@ namespace ROMVault2
if (!_errorOpen)
{
_errorOpen = true;
ClientSize = new Size(498, 292);
MinimumSize = new Size(498, 292);
ClientSize = new Size(511, 292);
MinimumSize = new Size(511, 292);
FormBorderStyle = FormBorderStyle.SizableToolWindow;
}