locked
Dock RRS feed

  • Question

  • There is a small form of size:
    Width=200
    height=104

    There is a label control in it.
    I would like the label control to fill all the form.
    Tried Dock property of the label control to be set to Fill. But the label control always appears on top left of the form.
    What should I do to make sutre the label fills all the form?
    Thanks

    Friday, January 5, 2007 9:19 AM

Answers

  • Set AutoSize to false and TextAlign to MiddleCenter.
    Friday, January 5, 2007 12:18 PM

All replies

  •  

    Is there some property which is controlling the size of lable and not allowing to doc.... may be something like Autosize = true

    Friday, January 5, 2007 9:43 AM
  • Set AutoSize to false and TextAlign to MiddleCenter.
    Friday, January 5, 2007 12:18 PM