DouglasBell
Active member
- Joined
- Aug 16, 2011
- Messages
- 38
- Programming Experience
- Beginner
Hi All
I am creating a custom control that will have several labels and text boxes.
There will be up to 8 of these controls displayed on a form. The form size is 1920,1080 so I am desiging the size of the control as 470,518 so I can fit 8 on the screen size. What I would like to do is when there is 4 or less of these controls to display then the size of everything adjusts to fit the screen.
Is there a way to automatically scale controls, or do I just have to manually work out all the sizes and positions for each senario then use on load to scale the controls based on amount to be displayed?.
Cheers
Dj
I am creating a custom control that will have several labels and text boxes.
There will be up to 8 of these controls displayed on a form. The form size is 1920,1080 so I am desiging the size of the control as 470,518 so I can fit 8 on the screen size. What I would like to do is when there is 4 or less of these controls to display then the size of everything adjusts to fit the screen.
Is there a way to automatically scale controls, or do I just have to manually work out all the sizes and positions for each senario then use on load to scale the controls based on amount to be displayed?.
Cheers
Dj