CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    40

    Resize Label on Form

    -_- This has got to be the most dumbest thing i've ever asked.. But how do I resize the label on the design form? I seriously did not want to embarass myself by asking on the forum but I tried different things, watched some tutorial movies, searched through forums -_- ... So, how do I do it? I don'ttttt at all want AutoResize. I've tried changing the size property and tried looking around to resize by draging it around with mouse but won't work. What am I doing wrong?

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Resize Label on Form

    This sounds like you've got some code in your form which is resizing the control outside of the InitializeComponent. I've had this before.

    Anyway if all else fails do a Ctl+m Ctl+l in the form code and search through for anywhere which resizes the label and remove it. Then it'll regenerate the code for you in the designer and you should be ok from there on.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  3. #3
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    40

    Re: Resize Label on Form

    Thx =) Really appreciate it.

  4. #4
    Join Date
    May 2004
    Location
    Greenville, NC
    Posts
    193

    Re: Resize Label on Form

    Quote Originally Posted by JBudOner
    Thx =) Really appreciate it.
    Not to offend you, but did you try setting the AutoSize property to false? You make mention of altering the Size property, but you have to set AutoSize to falsae for it to work.
    Jason Isom
    .NET 2.0 / VS2005 Developer

  5. #5
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    40

    Re: Resize Label on Form

    X_x no lol... I actually replied thanking him to pretend that that's all I needed. I found out slightly after I posted this that all I need to do was change AutoSize property. I didn't think it would affect it =S And then I couldn't delete this post hah so ya. But thx. X_x Just started C# .Net today.

  6. #6
    Join Date
    Dec 2009
    Posts
    11

    Resolved Re: Resize Label on Form

    Quote Originally Posted by Jason Isom View Post
    Not to offend you, but did you try setting the AutoSize property to false? You make mention of altering the Size property, but you have to set AutoSize to falsae for it to work.
    Thank you!
    That worked for me too...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured