locked
Making A Label Resizable? Possible? RRS feed

  • Question

  • I have a label where by code I put various strings of various lengths. I would like to make the label as big as the window so when I select for the text to be "centered", the text also looks centered in the window.

    However, whenever I try to resize the label, all I can do is move it around.

    Thanks for any help! Smile
    This is in C# Express.
    Thursday, July 19, 2007 4:16 AM

Answers

  • Select the label control on the form, then set the AutoSize property to False in the property browser.

     

    This is one of those things that seems obvious once you know the answer, but really isn't all that obvious when you don't.

     

    Thursday, July 19, 2007 6:17 AM

All replies

  • Select the label control on the form, then set the AutoSize property to False in the property browser.

     

    This is one of those things that seems obvious once you know the answer, but really isn't all that obvious when you don't.

     

    Thursday, July 19, 2007 6:17 AM
  • Thanks dude! Solved my issues! Cant' believe I didn't try messing with that setting.
    • Proposed as answer by DaveQuick Monday, December 7, 2015 4:42 AM
    Thursday, July 19, 2007 11:04 PM