# HG changeset patch # User IBBoard # Date 1253368615 0 # Node ID 039b02006a8ab01e786a2b07b311347c50db1254 # Parent 05df6494f0b7ad075c933a892e655229c61d5c7e * Set toolbar style back to "flat" to fix ugly undo/redo buttons no-open-ticket diff -r 05df6494f0b7 -r 039b02006a8a FrmMain.cs --- a/FrmMain.cs Sat Sep 19 13:54:15 2009 +0000 +++ b/FrmMain.cs Sat Sep 19 13:56:55 2009 +0000 @@ -246,14 +246,14 @@ // // statusBar // - this.statusBar.Location = new System.Drawing.Point(0, 548); + this.statusBar.Location = new System.Drawing.Point(0, 546); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.sbMainPanel, this.sbErrorPanel, this.sbPointsPanel}); this.statusBar.ShowPanels = true; - this.statusBar.Size = new System.Drawing.Size(792, 22); + this.statusBar.Size = new System.Drawing.Size(790, 22); this.statusBar.TabIndex = 1; this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick); this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); @@ -283,6 +283,7 @@ // // toolBar // + this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.bttnNewArmy, this.bttnOpenArmy, @@ -296,7 +297,7 @@ this.toolBar.Location = new System.Drawing.Point(0, 0); this.toolBar.Name = "toolBar"; this.toolBar.ShowToolTips = true; - this.toolBar.Size = new System.Drawing.Size(792, 28); + this.toolBar.Size = new System.Drawing.Size(790, 28); this.toolBar.TabIndex = 2; this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick); // @@ -485,9 +486,9 @@ this.pnlRight.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.pnlRight.BackColor = System.Drawing.SystemColors.AppWorkspace; - this.pnlRight.Location = new System.Drawing.Point(726, 30); + this.pnlRight.Location = new System.Drawing.Point(724, 30); this.pnlRight.Name = "pnlRight"; - this.pnlRight.Size = new System.Drawing.Size(64, 516); + this.pnlRight.Size = new System.Drawing.Size(64, 514); this.pnlRight.TabIndex = 4; this.pnlRight.Visible = false; this.pnlRight.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlRight_Paint); @@ -500,7 +501,7 @@ // FrmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); - this.ClientSize = new System.Drawing.Size(792, 570); + this.ClientSize = new System.Drawing.Size(790, 568); this.Controls.Add(this.pnlRight); this.Controls.Add(this.toolBar); this.Controls.Add(this.statusBar);