添加toolStrip.FlowDirection属性设置,确保按钮正确排列和换行
This commit is contained in:
@@ -155,6 +155,7 @@ namespace JoyD.Windows.CS
|
||||
this.btnBrushSize15,
|
||||
this.btnBrushSize25});
|
||||
this.toolStrip.AutoSize = true;
|
||||
this.toolStrip.FlowDirection = System.Windows.Forms.FlowDirection.LeftToRight;
|
||||
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表示无限制
|
||||
|
||||
Reference in New Issue
Block a user