Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. StatusStrip Height

StatusStrip Height

Scheduled Pinned Locked Moved C#
helptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Patricker
    wrote on last edited by
    #1

    I am trying to increase the height of my StatusStrip... but it won't let me. Whenever I change the value from 22 to any other value, higher or lower, it automatically changes back to 22. Any ideas how to change this? I want to make it 32 high. Thanks in advance for any help. --Peter

    P 1 Reply Last reply
    0
    • P Patricker

      I am trying to increase the height of my StatusStrip... but it won't let me. Whenever I change the value from 22 to any other value, higher or lower, it automatically changes back to 22. Any ideas how to change this? I want to make it 32 high. Thanks in advance for any help. --Peter

      P Offline
      P Offline
      Patricker
      wrote on last edited by
      #2

      I know somebody just posted some code, that didn't quite make much sense... but it helped anyways. I saw in your code AutoSize set to true, well for some random reason this inspired me to turn off AutoSize. Once i turned off autosize then it let me change the size freely as I wished. So to make a StatusStrip taller you just need to turn off AutoSize. --Peter

      S 1 Reply Last reply
      0
      • P Patricker

        I know somebody just posted some code, that didn't quite make much sense... but it helped anyways. I saw in your code AutoSize set to true, well for some random reason this inspired me to turn off AutoSize. Once i turned off autosize then it let me change the size freely as I wished. So to make a StatusStrip taller you just need to turn off AutoSize. --Peter

        S Offline
        S Offline
        Scott Dorman
        wrote on last edited by
        #3

        Yes, the AutoSize property tells the Windows Forms layout system to automatically size the control based on it's "preferred size". This is either a hard-coded value or is based on the control's contents, or some combination. When AutoSize is set to true, the layout system will happily ignore any manually adjusted size information you might provide. By setting it to false you are telling the layout system to display the control specifially in the size you specify.

        ----------------------------- In just two days, tomorrow will be yesterday.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups