移除toolStrip控件的固定Size设置,确保按钮能正常换行显示

This commit is contained in:
zqm
2025-11-10 14:11:32 +08:00
parent 92a1dec3ed
commit a57aa6ae06

View File

@@ -224,7 +224,7 @@ namespace JoyD.Windows.CS
this.btnBrushSize25}); this.btnBrushSize25});
this.toolStrip.Location = new System.Drawing.Point(3, 0); this.toolStrip.Location = new System.Drawing.Point(3, 0);
this.toolStrip.Name = "toolStrip"; this.toolStrip.Name = "toolStrip";
this.toolStrip.Size = new System.Drawing.Size(104, 25); // 移除固定Size让AutoSize属性生效
this.toolStrip.TabIndex = 3; this.toolStrip.TabIndex = 3;
this.toolStrip.Text = "工具条"; this.toolStrip.Text = "工具条";
// //