为toolStrip控件设置宽度为200,确保按钮能在一行显示不完时自动换行
This commit is contained in:
@@ -224,7 +224,8 @@ namespace JoyD.Windows.CS
|
||||
this.btnBrushSize25});
|
||||
this.toolStrip.Location = new System.Drawing.Point(3, 0);
|
||||
this.toolStrip.Name = "toolStrip";
|
||||
// 移除固定Size,让AutoSize属性生效
|
||||
// 设置一个适当的宽度,确保按钮会换行
|
||||
this.toolStrip.Width = 200;
|
||||
this.toolStrip.TabIndex = 3;
|
||||
this.toolStrip.Text = "工具条";
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user