B
B. Chernick
I'm writing a Winforms app (Dot Net 2.0, VS2005, VB).
I have a simple usercontrol with 2 panels on it, one with labels, one with a
variety of editing controls, mostly datetimepickers and NumericUpDowns. A
number of these usercontrols are then instantiated and put on a form in
another project.
The problem is this: The panel containing the controls is apparently
expanding and increasing the space between controls, both height and width
(so that part of it is hidden when the control displays). There is code that
changes the width of the usercontrol itself and the position of the panel
within the usercontrol, but no code whatever to change the width of the panel
or height of anything. Autosize for the panel is False.
What could I be forgetting?
I have a simple usercontrol with 2 panels on it, one with labels, one with a
variety of editing controls, mostly datetimepickers and NumericUpDowns. A
number of these usercontrols are then instantiated and put on a form in
another project.
The problem is this: The panel containing the controls is apparently
expanding and increasing the space between controls, both height and width
(so that part of it is hidden when the control displays). There is code that
changes the width of the usercontrol itself and the position of the panel
within the usercontrol, but no code whatever to change the width of the panel
or height of anything. Autosize for the panel is False.
What could I be forgetting?