change the height of statusStrip

こ雲淡風輕ζ 提交于 2019-12-12 11:00:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!