OSDN Git Service

AppliStation, パッケージ情報のサイズ感を修正
[applistation/AppliStation.git] / AppliStation / AppliStation.PackageInfo / PackageInfoForm.cs
index 670aad1..39f3d00 100644 (file)
@@ -34,6 +34,8 @@ namespace AppliStation.PackageInfo
                \r
                private void updateSelectedObject()\r
                {\r
+                       this.SuspendLayout();\r
+                       \r
                        InstalledPackage instPkg = pkg as InstalledPackage;\r
                        bool isInstalledPackage = instPkg != null;\r
                        \r
@@ -111,7 +113,8 @@ namespace AppliStation.PackageInfo
                                }\r
                        }\r
                        \r
-                       this.Size = new Size(this.Size.Width, (tabControl1.TabCount>0)? 380 : 250);\r
+                       this.Validate();\r
+                       this.ResumeLayout();\r
                }\r
                \r
                /// <summary>\r