修改toolStrip布局样式为Flow,使其按钮一行显示不完时自动换行

This commit is contained in:
zqm
2025-11-10 14:07:55 +08:00
parent 7dac6ad069
commit 7aa4d3b4b0

View File

@@ -203,6 +203,7 @@ namespace JoyD.Windows.CS
//
this.toolStrip.AllowDrop = true;
this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.btnDrawRegion,