From: ttp Date: Sun, 7 Jun 2009 01:52:34 +0000 (+0900) Subject: AppliStation-GUI,パッケージ情報ダイアログの表示を微修正 X-Git-Tag: v1.3.0~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=048b9fab8b5e9c03bd0cc1abd5614a10c7b6a261;p=applistation%2FAppliStation.git AppliStation-GUI,パッケージ情報ダイアログの表示を微修正 --- diff --git a/AppliStation/InstallerInfoForm.Designer.cs b/AppliStation/InstallerInfoForm.Designer.cs index 23af520..b4ba7cc 100644 --- a/AppliStation/InstallerInfoForm.Designer.cs +++ b/AppliStation/InstallerInfoForm.Designer.cs @@ -81,8 +81,8 @@ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(300, 150); this.tableLayoutPanel1.TabIndex = 0; // @@ -125,10 +125,10 @@ // // archValueLabel // - this.archValueLabel.AutoSize = true; + this.archValueLabel.Dock = System.Windows.Forms.DockStyle.Fill; this.archValueLabel.Location = new System.Drawing.Point(107, 59); this.archValueLabel.Name = "archValueLabel"; - this.archValueLabel.Size = new System.Drawing.Size(0, 12); + this.archValueLabel.Size = new System.Drawing.Size(190, 12); this.archValueLabel.TabIndex = 5; // // InstallerInfoForm diff --git a/AppliStation/PackageInfoForm.Designer.cs b/AppliStation/PackageInfoForm.Designer.cs index 8c05a04..0cb8289 100644 --- a/AppliStation/PackageInfoForm.Designer.cs +++ b/AppliStation/PackageInfoForm.Designer.cs @@ -123,12 +123,12 @@ // // urlLinkLabel // - this.urlLinkLabel.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.urlLinkLabel.AutoSize = true; + this.urlLinkLabel.AutoEllipsis = true; + this.urlLinkLabel.Dock = System.Windows.Forms.DockStyle.Fill; this.urlLinkLabel.LinkColor = System.Drawing.SystemColors.HotTrack; this.urlLinkLabel.Location = new System.Drawing.Point(130, 90); this.urlLinkLabel.Name = "urlLinkLabel"; - this.urlLinkLabel.Size = new System.Drawing.Size(39, 12); + this.urlLinkLabel.Size = new System.Drawing.Size(251, 12); this.urlLinkLabel.TabIndex = 5; this.urlLinkLabel.TabStop = true; this.urlLinkLabel.Text = "http://"; @@ -249,13 +249,13 @@ // // statusLinkLabel // - this.statusLinkLabel.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.statusLinkLabel.AutoSize = true; + this.statusLinkLabel.AutoEllipsis = true; + this.statusLinkLabel.Dock = System.Windows.Forms.DockStyle.Fill; this.statusLinkLabel.Enabled = false; this.statusLinkLabel.LinkColor = System.Drawing.SystemColors.HotTrack; this.statusLinkLabel.Location = new System.Drawing.Point(130, 78); this.statusLinkLabel.Name = "statusLinkLabel"; - this.statusLinkLabel.Size = new System.Drawing.Size(127, 12); + this.statusLinkLabel.Size = new System.Drawing.Size(251, 12); this.statusLinkLabel.TabIndex = 3; this.statusLinkLabel.TabStop = true; this.statusLinkLabel.Text = "インストールされていません"; @@ -274,11 +274,11 @@ // // packageListNameValueLabel // - this.packageListNameValueLabel.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.packageListNameValueLabel.AutoSize = true; + this.packageListNameValueLabel.AutoEllipsis = true; + this.packageListNameValueLabel.Dock = System.Windows.Forms.DockStyle.Fill; this.packageListNameValueLabel.Location = new System.Drawing.Point(130, 144); this.packageListNameValueLabel.Name = "packageListNameValueLabel"; - this.packageListNameValueLabel.Size = new System.Drawing.Size(41, 12); + this.packageListNameValueLabel.Size = new System.Drawing.Size(251, 12); this.packageListNameValueLabel.TabIndex = 14; this.packageListNameValueLabel.Text = "(不明)"; // @@ -290,7 +290,8 @@ this.CancelButton = this.closeButton; this.ClientSize = new System.Drawing.Size(392, 356); this.Controls.Add(this.tableLayoutPanel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; + this.MaximizeBox = false; + this.MinimizeBox = false; this.Name = "PackageInfoForm"; this.ShowIcon = false; this.ShowInTaskbar = false; diff --git a/AppliStation/PackageInfoForm.cs b/AppliStation/PackageInfoForm.cs index 69409f1..99a0776 100644 --- a/AppliStation/PackageInfoForm.cs +++ b/AppliStation/PackageInfoForm.cs @@ -86,10 +86,8 @@ namespace AppliStation setTypeValueLabel(typeValueLabel, pkg.Type); if (! string.IsNullOrEmpty(pkg.PackageListName)) { packageListNameValueLabel.Text = pkg.PackageListName; - packageListNameLabel.Enabled = true; packageListNameValueLabel.Enabled = true; } else { - packageListNameLabel.Enabled = false; packageListNameValueLabel.Enabled = false; }