OSDN Git Service

AppliStation-GUI,パッケージ情報ダイアログの表示を微修正
authorttp <ttp@users.sourceforge.jp>
Sun, 7 Jun 2009 01:52:34 +0000 (10:52 +0900)
committerttp <ttp@users.sourceforge.jp>
Sun, 7 Jun 2009 01:52:34 +0000 (10:52 +0900)
AppliStation/InstallerInfoForm.Designer.cs
AppliStation/PackageInfoForm.Designer.cs
AppliStation/PackageInfoForm.cs

index 23af520..b4ba7cc 100644 (file)
@@ -81,8 +81,8 @@
                        this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
                        this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
                        this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-                       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
-                       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+                       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+                       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
                        this.tableLayoutPanel1.Size = new System.Drawing.Size(300, 150);\r
                        this.tableLayoutPanel1.TabIndex = 0;\r
                        // \r
                        // \r
                        // archValueLabel\r
                        // \r
-                       this.archValueLabel.AutoSize = true;\r
+                       this.archValueLabel.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.archValueLabel.Location = new System.Drawing.Point(107, 59);\r
                        this.archValueLabel.Name = "archValueLabel";\r
-                       this.archValueLabel.Size = new System.Drawing.Size(0, 12);\r
+                       this.archValueLabel.Size = new System.Drawing.Size(190, 12);\r
                        this.archValueLabel.TabIndex = 5;\r
                        // \r
                        // InstallerInfoForm\r
index 8c05a04..0cb8289 100644 (file)
                        // \r
                        // urlLinkLabel\r
                        // \r
-                       this.urlLinkLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
-                       this.urlLinkLabel.AutoSize = true;\r
+                       this.urlLinkLabel.AutoEllipsis = true;\r
+                       this.urlLinkLabel.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.urlLinkLabel.LinkColor = System.Drawing.SystemColors.HotTrack;\r
                        this.urlLinkLabel.Location = new System.Drawing.Point(130, 90);\r
                        this.urlLinkLabel.Name = "urlLinkLabel";\r
-                       this.urlLinkLabel.Size = new System.Drawing.Size(39, 12);\r
+                       this.urlLinkLabel.Size = new System.Drawing.Size(251, 12);\r
                        this.urlLinkLabel.TabIndex = 5;\r
                        this.urlLinkLabel.TabStop = true;\r
                        this.urlLinkLabel.Text = "http://";\r
                        // \r
                        // statusLinkLabel\r
                        // \r
-                       this.statusLinkLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
-                       this.statusLinkLabel.AutoSize = true;\r
+                       this.statusLinkLabel.AutoEllipsis = true;\r
+                       this.statusLinkLabel.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.statusLinkLabel.Enabled = false;\r
                        this.statusLinkLabel.LinkColor = System.Drawing.SystemColors.HotTrack;\r
                        this.statusLinkLabel.Location = new System.Drawing.Point(130, 78);\r
                        this.statusLinkLabel.Name = "statusLinkLabel";\r
-                       this.statusLinkLabel.Size = new System.Drawing.Size(127, 12);\r
+                       this.statusLinkLabel.Size = new System.Drawing.Size(251, 12);\r
                        this.statusLinkLabel.TabIndex = 3;\r
                        this.statusLinkLabel.TabStop = true;\r
                        this.statusLinkLabel.Text = "インストールされていません";\r
                        // \r
                        // packageListNameValueLabel\r
                        // \r
-                       this.packageListNameValueLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
-                       this.packageListNameValueLabel.AutoSize = true;\r
+                       this.packageListNameValueLabel.AutoEllipsis = true;\r
+                       this.packageListNameValueLabel.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.packageListNameValueLabel.Location = new System.Drawing.Point(130, 144);\r
                        this.packageListNameValueLabel.Name = "packageListNameValueLabel";\r
-                       this.packageListNameValueLabel.Size = new System.Drawing.Size(41, 12);\r
+                       this.packageListNameValueLabel.Size = new System.Drawing.Size(251, 12);\r
                        this.packageListNameValueLabel.TabIndex = 14;\r
                        this.packageListNameValueLabel.Text = "(不明)";\r
                        // \r
                        this.CancelButton = this.closeButton;\r
                        this.ClientSize = new System.Drawing.Size(392, 356);\r
                        this.Controls.Add(this.tableLayoutPanel);\r
-                       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;\r
+                       this.MaximizeBox = false;\r
+                       this.MinimizeBox = false;\r
                        this.Name = "PackageInfoForm";\r
                        this.ShowIcon = false;\r
                        this.ShowInTaskbar = false;\r
index 69409f1..99a0776 100644 (file)
@@ -86,10 +86,8 @@ namespace AppliStation
                        setTypeValueLabel(typeValueLabel, pkg.Type);\r
                        if (! string.IsNullOrEmpty(pkg.PackageListName)) {\r
                                packageListNameValueLabel.Text = pkg.PackageListName;\r
-                               packageListNameLabel.Enabled = true;\r
                                packageListNameValueLabel.Enabled = true;\r
                        } else {\r
-                               packageListNameLabel.Enabled = false;\r
                                packageListNameValueLabel.Enabled = false;\r
                        }\r
                        \r