From 6f3c0c336f9c4cc71ebb37f3ef9fd9b97703fb83 Mon Sep 17 00:00:00 2001 From: zqm Date: Mon, 10 Nov 2025 14:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DtoolStrip=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=9A?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0AutoSize=3Dtrue=E5=B9=B6=E5=A2=9E=E5=8A=A0Top?= =?UTF-8?q?ToolStripPanel=E6=9C=80=E5=B0=8F=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs b/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs index be0a652..7dae09e 100644 --- a/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs +++ b/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs @@ -123,6 +123,7 @@ namespace JoyD.Windows.CS // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); + this.toolStripContainer.TopToolStripPanel.MinimumSize = new System.Drawing.Size(0, 150); // 增加最小高度以允许按钮换行显示 // // dataGridViewTempDiff // @@ -153,6 +154,7 @@ namespace JoyD.Windows.CS this.btnBrushSize10, this.btnBrushSize15, this.btnBrushSize25}); + this.toolStrip.AutoSize = true; this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.toolStrip.Location = new System.Drawing.Point(3, 0); this.toolStrip.MaximumSize = new System.Drawing.Size(0, 300); // 宽度设为0表示无限制