Fixed a few details for the Linux GUI.
authormoel.mich
Mon, 11 Apr 2011 22:38:39 +0000
changeset 26938cd90779aad
parent 268 844ba72c11de
child 270 ef89cbe45b7c
Fixed a few details for the Linux GUI.
GUI/AboutBox.Designer.cs
GUI/MainForm.cs
     1.1 --- a/GUI/AboutBox.Designer.cs	Sun Apr 10 23:36:07 2011 +0000
     1.2 +++ b/GUI/AboutBox.Designer.cs	Mon Apr 11 22:38:39 2011 +0000
     1.3 @@ -78,9 +78,9 @@
     1.4        // 
     1.5        this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     1.6        this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     1.7 -      this.okButton.Location = new System.Drawing.Point(305, 142);
     1.8 +      this.okButton.Location = new System.Drawing.Point(261, 123);
     1.9        this.okButton.Name = "okButton";
    1.10 -      this.okButton.Size = new System.Drawing.Size(87, 27);
    1.11 +      this.okButton.Size = new System.Drawing.Size(75, 23);
    1.12        this.okButton.TabIndex = 0;
    1.13        this.okButton.Text = "OK";
    1.14        this.okButton.UseVisualStyleBackColor = true;
    1.15 @@ -88,60 +88,60 @@
    1.16        // pictureBox1
    1.17        // 
    1.18        this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
    1.19 -      this.pictureBox1.Location = new System.Drawing.Point(12, 13);
    1.20 +      this.pictureBox1.Location = new System.Drawing.Point(10, 11);
    1.21        this.pictureBox1.Name = "pictureBox1";
    1.22 -      this.pictureBox1.Size = new System.Drawing.Size(56, 56);
    1.23 +      this.pictureBox1.Size = new System.Drawing.Size(48, 49);
    1.24        this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
    1.25        this.pictureBox1.TabIndex = 1;
    1.26        this.pictureBox1.TabStop = false;
    1.27        // 
    1.28        // label1
    1.29        // 
    1.30 -      this.label1.AutoSize = true;      
    1.31 -      this.label1.Location = new System.Drawing.Point(85, 13);
    1.32 -      this.label1.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
    1.33 +      this.label1.AutoSize = true;
    1.34 +      this.label1.Location = new System.Drawing.Point(73, 11);
    1.35 +      this.label1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
    1.36        this.label1.Name = "label1";
    1.37 -      this.label1.Size = new System.Drawing.Size(179, 20);
    1.38 +      this.label1.Size = new System.Drawing.Size(120, 13);
    1.39        this.label1.TabIndex = 2;
    1.40        this.label1.Text = "Open Hardware Monitor";
    1.41        // 
    1.42        // label2
    1.43        // 
    1.44        this.label2.AutoSize = true;
    1.45 -      this.label2.Location = new System.Drawing.Point(86, 54);
    1.46 -      this.label2.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
    1.47 +      this.label2.Location = new System.Drawing.Point(74, 47);
    1.48 +      this.label2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
    1.49        this.label2.Name = "label2";
    1.50 -      this.label2.Size = new System.Drawing.Size(315, 15);
    1.51 +      this.label2.Size = new System.Drawing.Size(280, 13);
    1.52        this.label2.TabIndex = 3;
    1.53        this.label2.Text = "Copyright © 2009-2010 Michael Möller. All rights reserved.";
    1.54        // 
    1.55        // label3
    1.56        // 
    1.57        this.label3.AutoSize = true;
    1.58 -      this.label3.Location = new System.Drawing.Point(86, 36);
    1.59 -      this.label3.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
    1.60 +      this.label3.Location = new System.Drawing.Point(74, 31);
    1.61 +      this.label3.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
    1.62        this.label3.Name = "label3";
    1.63 -      this.label3.Size = new System.Drawing.Size(132, 15);
    1.64 +      this.label3.Size = new System.Drawing.Size(127, 13);
    1.65        this.label3.TabIndex = 4;
    1.66        this.label3.Text = "Version 9.0.30729.1 Beta";
    1.67        // 
    1.68        // label4
    1.69        // 
    1.70        this.label4.AutoSize = true;
    1.71 -      this.label4.Location = new System.Drawing.Point(9, 95);
    1.72 -      this.label4.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
    1.73 +      this.label4.Location = new System.Drawing.Point(8, 82);
    1.74 +      this.label4.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
    1.75        this.label4.Name = "label4";
    1.76 -      this.label4.Size = new System.Drawing.Size(412, 15);
    1.77 +      this.label4.Size = new System.Drawing.Size(374, 13);
    1.78        this.label4.TabIndex = 5;
    1.79        this.label4.Text = "The source code is available under the terms of the Mozilla Public License 1.1";
    1.80        // 
    1.81        // linkLabel
    1.82        // 
    1.83        this.linkLabel.AutoSize = true;
    1.84 -      this.linkLabel.Location = new System.Drawing.Point(145, 0);
    1.85 -      this.linkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 12, 0);
    1.86 +      this.linkLabel.Location = new System.Drawing.Point(128, 0);
    1.87 +      this.linkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 10, 0);
    1.88        this.linkLabel.Name = "linkLabel";
    1.89 -      this.linkLabel.Size = new System.Drawing.Size(176, 15);
    1.90 +      this.linkLabel.Size = new System.Drawing.Size(156, 13);
    1.91        this.linkLabel.TabIndex = 6;
    1.92        this.linkLabel.TabStop = true;
    1.93        this.linkLabel.Text = "Open Hardware Monitor Project";
    1.94 @@ -153,7 +153,7 @@
    1.95        this.label5.Location = new System.Drawing.Point(0, 0);
    1.96        this.label5.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
    1.97        this.label5.Name = "label5";
    1.98 -      this.label5.Size = new System.Drawing.Size(142, 15);
    1.99 +      this.label5.Size = new System.Drawing.Size(125, 13);
   1.100        this.label5.TabIndex = 7;
   1.101        this.label5.Text = "from the project website: ";
   1.102        // 
   1.103 @@ -163,26 +163,26 @@
   1.104        this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
   1.105        this.flowLayoutPanel1.Controls.Add(this.label5);
   1.106        this.flowLayoutPanel1.Controls.Add(this.linkLabel);
   1.107 -      this.flowLayoutPanel1.Location = new System.Drawing.Point(12, 115);
   1.108 -      this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
   1.109 +      this.flowLayoutPanel1.Location = new System.Drawing.Point(10, 100);
   1.110 +      this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
   1.111        this.flowLayoutPanel1.Name = "flowLayoutPanel1";
   1.112 -      this.flowLayoutPanel1.Size = new System.Drawing.Size(333, 15);
   1.113 +      this.flowLayoutPanel1.Size = new System.Drawing.Size(294, 13);
   1.114        this.flowLayoutPanel1.TabIndex = 8;
   1.115        // 
   1.116        // AboutBox
   1.117        // 
   1.118        this.AcceptButton = this.okButton;
   1.119 -      this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
   1.120 +      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   1.121        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   1.122        this.AutoSize = true;
   1.123 -      this.ClientSize = new System.Drawing.Size(404, 182);
   1.124 +      this.ClientSize = new System.Drawing.Size(346, 158);
   1.125        this.Controls.Add(this.flowLayoutPanel1);
   1.126        this.Controls.Add(this.label4);
   1.127        this.Controls.Add(this.label3);
   1.128        this.Controls.Add(this.label2);
   1.129        this.Controls.Add(this.label1);
   1.130        this.Controls.Add(this.pictureBox1);
   1.131 -      this.Controls.Add(this.okButton);      
   1.132 +      this.Controls.Add(this.okButton);
   1.133        this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
   1.134        this.MaximizeBox = false;
   1.135        this.MinimizeBox = false;
     2.1 --- a/GUI/MainForm.cs	Sun Apr 10 23:36:07 2011 +0000
     2.2 +++ b/GUI/MainForm.cs	Mon Apr 11 22:38:39 2011 +0000
     2.3 @@ -128,6 +128,8 @@
     2.4          plotPanel.BorderStyle = BorderStyle.Fixed3D;
     2.5          gadgetMenuItem.Visible = false;
     2.6          minCloseMenuItem.Visible = false;
     2.7 +        minTrayMenuItem.Visible = false;
     2.8 +        startMinMenuItem.Visible = false;
     2.9        } else { // Windows
    2.10          treeView.RowHeight = Math.Max(treeView.Font.Height + 1, 17); 
    2.11