I have a panel in a tabpage. It contains child controls; there are labels, textboxes, checkboxes, radiobuttons, comboboxes and buttons. Every once in a while when I run the app and access that tabpage, all the controls in that panel have shifted down by the same amount so that there's a large gap of blank space at the top of the panel. It's like something has pushed the whole thing down. When I go look at it in design, it's the same thing. Everything has shifted down. If I do nothing about it, everything eventually shifts down some more. It keeps creating more and more space at the bottom.
The panel is set to auto scroll. The suspects in my mind, though I don't know for what reason exactly, are the labels that I'm using as section headers. The labels stretch the width of the panel and are anchored left, top, right.
If you have experienced this issue and know how to fix it, I'd love to hear from you. Thanks.
The panel is set to auto scroll. The suspects in my mind, though I don't know for what reason exactly, are the labels that I'm using as section headers. The labels stretch the width of the panel and are anchored left, top, right.
If you have experienced this issue and know how to fix it, I'd love to hear from you. Thanks.