TabPages and UserControls growing to over 30,000 pixels in Width and Height in Designer (2005 beta 2)

I’m having some major sizing issues with controls in designer view. To be specific, it  seems that controls within container controls such as TabPages will randomly outgrow their parent controls to a very large size (~30,000px! ). < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Even when trying to manually edit the designer code, as soon as switching back to design view, the weird numbers are back.

Here's a link to a screenshot: http://www.bugben.com/showcase/30000.jpg

Has anyone else seen this Or have any suggestions



Answer this question

TabPages and UserControls growing to over 30,000 pixels in Width and Height in Designer (2005 beta 2)

  • LesSmith

    No I didn't. I wanted to see if anyone here has seen it happen before, since it almost seems TOO easy to reproduce this bug. It must be something I'm doing wrong.

    Also - just discovered. This only happens when my form contents are all children of a ToolStripContainer. Is ToolStripContainer not meant to hold controls and be docked to fill an entire form    

  • cprcrack

    Just a suggestion,
    Have you tried anchoring the tab control instead of docking it
    Then any other controls that were in the panel bring them back to their proper position again until the scroll bars disappear again.


  • Mohamed B.

    Yes. Several times. Still no luck :(. I seem to still be running into this problem even with new forms I create. On multiple machines. It's GOT to be something I'm doing that just no one else does.

    Regardless it's a bug and I'd hate to see it slip through the cracks and plague only me until the end of time. Maybe I should take a screen capture video of this phenomenon -- so others can see

    -Ben


  • Moishe

    Hi,

    did you try to report this to msdn product feedback center

  • Battula

    The ToolStripContainer probably wasn't designed to be used in that way. But I would report the bug anyway. Make sure you attach a working project that reproduces it.

  • Curtis_more

    Not to doubt you, but how sure are you the ToolStripContainer isn't designed to be used that way        The new little smart-menu thing has only a couple options available. First, dock it, next, reparent old form controls to use it... right.. I thought..

    -ben  

  • TabPages and UserControls growing to over 30,000 pixels in Width and Height in Designer (2005 beta 2)