0
toolstripstatuslabel에서 이미지를 추가하고 아래와 같이 표시합니다.C# ToolStripStatusLabel의 크기를 설정할 수 없습니까?
사례 1 : 이미지 목록 크기 [작동하지 않음]
사례 2 설정 :. 라벨의 크기를 설정 위의 두 경우 모두
을 [작동하지 않음], 크기가 반영지고 있지 않습니다.
StatusStrip statusStrip = new StatusStrip();
//Set the size of the status bar
statusStrip.AutoSize = false;
ImageList imgList = new ImageList();
...Add resource images to image list
imgList.ImageSize = new System.Drawing.Size(50, 50);
//Set the images on the status strip
ToolStripStatusLabel add = new ToolStripStatusLabel();
add.Image = jobImgList.Images[0];
//Set auto size to false, so specify the size
add.AutoSize = false;
add.Size = new System.Drawing.Size(50, 50);
statusStrip.Items.Add(add);
AutoSize를 false로 설정하는 것 이외의 다른 속성을 변경해야합니까?
그리고 : http://stackoverflow.com/questions/8216308/change-the-height-of-statusstrip/9191268#9191268 –