Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't adjust Winform width

Whenever I try to increase the form width in the properties box of VS 2008 it just resets my change back to 1300. It lets me lower the width, but not increase over 1300. How can I fix this? I have a datagrid in the form which has a width over 1300.

like image 241
JonF Avatar asked Feb 23 '23 13:02

JonF


1 Answers

Windows in Windows cannot be larger than your screen resolution.

In code (eg, in the form's constructor), you can set any width you want, and it will be restricted by the end-user's screen resolution at runtime.

Your form should not need to be so big; consider redesigning your UI and/or using scrollbars.

like image 124
SLaks Avatar answered Feb 25 '23 03:02

SLaks