C
C#17mo ago
Conner

❔ I have trouble understanding AutoSize

Winforms There is an AutoSize property on most containers, the documentation says that it will make the container automatically fit its contents. However to me it seems that it just works arbitrarily. My layout of my control is as follows: * User Control * Docked Panel
- Text Box
- Another Docked Panel
Both the first docked panel and the User Control have AutoSize set to true but the control either doesnt resize at all or shrinks down to 1x1 pixel, which I wouldnt really consider to fit my content 🤔
3 Replies
JakenVeina
JakenVeina17mo ago
$details
MODiX
MODiX17mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server