NewLife/XCoder

api调试页面接收区自适应大小
笑笑 authored at 2019-11-18 21:16:13
faba442
Tree
1 Parent(s) 37314ce
Summary: 1 changed files with 5 additions and 5 deletions.
Modified +5 -5
Modified +5 -5
diff --git a/XCoderLinux/XApi/FrmMain.designer.cs b/XCoderLinux/XApi/FrmMain.designer.cs
index 43b91f2..8aeda73 100644
--- a/XCoderLinux/XApi/FrmMain.designer.cs
+++ b/XCoderLinux/XApi/FrmMain.designer.cs
@@ -65,7 +65,7 @@ namespace XApi
             this.gbReceive.Add(this.txtReceiveScrolledWindow);
             this.gbReceive.Margin = 6;
             this.gbReceive.Name = "gbReceive";
-            this.gbReceive.SetSizeRequest(878, 298);
+            //this.gbReceive.SetSizeRequest(878, 298);
             // gbReceive.Margin = 10;
             this.gbReceive.Label = "接收区:已接收0字节";
             this.gbReceive.Halign = Align.Fill;
@@ -407,7 +407,7 @@ namespace XApi
             this.PackStart(this.pnlSetting, false, false, 2);
             this.PackStart(this.label3, false, false, 2);
             this.PackStart(this.cbAction, false, false, 2);
-            this.PackStart(this.gbReceive, false, false, 2);
+            this.PackStart(this.gbReceive, true, true, 2);
             this.PackStart(this.gbSend, false, false, 2);
             //this.Margin = new Padding(4);
             //this.Name = "FrmMain";
@@ -424,9 +424,9 @@ namespace XApi
             //((System.ComponentModel.ISupportInitialize)(this.numMutilSend)).EndInit();
             //this.ResumeLayout(false);
             //this.PerformLayout();
-            this.Fill = true;
-            this.Halign = Align.Fill;
-            this.Valign = Align.Fill;
+            //this.Fill = true;
+            //this.Halign = Align.Fill;
+            //this.Valign = Align.Fill;
             this.Orientation = Orientation.Vertical;
         }