减小toolStrip宽度至150,更容易触发Flow布局的自动换行

This commit is contained in:
zqm
2025-11-10 14:14:47 +08:00
parent 8987ca841a
commit bf558b5107

View File

@@ -224,8 +224,8 @@ 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";
// 设置一个适当的宽度,确保按钮会换行 // 设置一个更小的宽度,更容易触发Flow布局的自动换行
this.toolStrip.Width = 200; this.toolStrip.Width = 150;
this.toolStrip.TabIndex = 3; this.toolStrip.TabIndex = 3;
this.toolStrip.Text = "工具条"; this.toolStrip.Text = "工具条";
// //