Hello,
I have a UserControl with a line up of textboxes and comboboxes on it. They are lined up from left to right with the texboxes coming first and then the comboboxes
What I would like to do is allow for the UserControl to be horizontally resized and have the textboxes and comboboxes resize according to percentage. Whatever percentage they are now, they should maintain that percentage. So, for example, the left-most combobox is about 8% of the entire width of the UserControl. If the UserControl was stretched to twice its current size, the combobox should also stretch to twice its size, thereby remaining at 8% of the UserControl's width.
How can I do this?
I'm working in Visual Studios 2008.
I have a UserControl with a line up of textboxes and comboboxes on it. They are lined up from left to right with the texboxes coming first and then the comboboxes
What I would like to do is allow for the UserControl to be horizontally resized and have the textboxes and comboboxes resize according to percentage. Whatever percentage they are now, they should maintain that percentage. So, for example, the left-most combobox is about 8% of the entire width of the UserControl. If the UserControl was stretched to twice its current size, the combobox should also stretch to twice its size, thereby remaining at 8% of the UserControl's width.
How can I do this?
I'm working in Visual Studios 2008.