问题
I have a simple windows form with a statusStrip in VS2010, and no matter what I tried, the height of statusStrip does not change, what is proper way of changing the height??
thanks
回答1:
I just changed the StatusStrip size without problems...
- Create a new Form.
- Create a StatusStrip.
- Set its property "Dock" to "None".
- Set its property "Autosize" to "False".
- Set its property "Size" with Height = 'the height you need' (I have put it to 100).
- If you want, now you can Dock to "Bottom" again.
- Add a ProgressBar: it will be 100 Height.
Let me know if this works for you
来源:https://stackoverflow.com/questions/8216308/change-the-height-of-statusstrip