Howto size a control in a ToolStripControlHost-item?
i have litte problem here.
I just made a UserControl
for Undo/Redo like in Visual Studio.
I wanted to add it to my MenuStrip
by an ToolStripControlHost
.
The problem is, that the control is too small. It´s width is just about 100, but should be 200.
How can i size it? Size
property doesn´t change anything. AutoS开发者_StackOverflow中文版ize
has lots of issues because of changing controls, Dock
doesn´t change anything ... I don´t know what i could do :-/
Thanks a lot :)
Have you tried to set the MinimumSize of your UserControl?
精彩评论