changeset 59:039b02006a8a

* Set toolbar style back to "flat" to fix ugly undo/redo buttons no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 19 Sep 2009 13:56:55 +0000
parents 05df6494f0b7
children c283545d2d0b
files FrmMain.cs
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/FrmMain.cs	Sat Sep 19 13:54:15 2009 +0000
     1.2 +++ b/FrmMain.cs	Sat Sep 19 13:56:55 2009 +0000
     1.3 @@ -246,14 +246,14 @@
     1.4  			// 
     1.5  			// statusBar
     1.6  			// 
     1.7 -			this.statusBar.Location = new System.Drawing.Point(0, 548);
     1.8 +			this.statusBar.Location = new System.Drawing.Point(0, 546);
     1.9  			this.statusBar.Name = "statusBar";
    1.10  			this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
    1.11              this.sbMainPanel,
    1.12              this.sbErrorPanel,
    1.13              this.sbPointsPanel});
    1.14  			this.statusBar.ShowPanels = true;
    1.15 -			this.statusBar.Size = new System.Drawing.Size(792, 22);
    1.16 +			this.statusBar.Size = new System.Drawing.Size(790, 22);
    1.17  			this.statusBar.TabIndex = 1;
    1.18  			this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick);
    1.19  			this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem);
    1.20 @@ -283,6 +283,7 @@
    1.21  			// 
    1.22  			// toolBar
    1.23  			// 
    1.24 +			this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
    1.25  			this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
    1.26              this.bttnNewArmy,
    1.27              this.bttnOpenArmy,
    1.28 @@ -296,7 +297,7 @@
    1.29  			this.toolBar.Location = new System.Drawing.Point(0, 0);
    1.30  			this.toolBar.Name = "toolBar";
    1.31  			this.toolBar.ShowToolTips = true;
    1.32 -			this.toolBar.Size = new System.Drawing.Size(792, 28);
    1.33 +			this.toolBar.Size = new System.Drawing.Size(790, 28);
    1.34  			this.toolBar.TabIndex = 2;
    1.35  			this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
    1.36  			// 
    1.37 @@ -485,9 +486,9 @@
    1.38  			this.pnlRight.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    1.39  						| System.Windows.Forms.AnchorStyles.Right)));
    1.40  			this.pnlRight.BackColor = System.Drawing.SystemColors.AppWorkspace;
    1.41 -			this.pnlRight.Location = new System.Drawing.Point(726, 30);
    1.42 +			this.pnlRight.Location = new System.Drawing.Point(724, 30);
    1.43  			this.pnlRight.Name = "pnlRight";
    1.44 -			this.pnlRight.Size = new System.Drawing.Size(64, 516);
    1.45 +			this.pnlRight.Size = new System.Drawing.Size(64, 514);
    1.46  			this.pnlRight.TabIndex = 4;
    1.47  			this.pnlRight.Visible = false;
    1.48  			this.pnlRight.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlRight_Paint);
    1.49 @@ -500,7 +501,7 @@
    1.50  			// FrmMain
    1.51  			// 
    1.52  			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    1.53 -			this.ClientSize = new System.Drawing.Size(792, 570);
    1.54 +			this.ClientSize = new System.Drawing.Size(790, 568);
    1.55  			this.Controls.Add(this.pnlRight);
    1.56  			this.Controls.Add(this.toolBar);
    1.57  			this.Controls.Add(this.statusBar);