Do you know TextAlign should be TopLeft or MiddleLeft?

Updated by Igor Goldobin 1 year ago. See history

123
<introEmbed body={<> If you add a text box in a form you should add anchoring and/or docking properties to allow it to grow as the form widens, but not as it increases in height. </>} />
Image

❌ Figure: Bad example - Wrong settings in the designer

Image

❌ Figure: Bad example - Set Anchor property to Top, Bottom, Left, Right in the designer

Image

✅ Figure: Good example - Textbox with the wrong anchoring and/or docking properties

Image

✅ Figure: Good example - Textbox with the correct anchoring and/or docking properties

We have a program called SSW Code Auditor to check for this rule

Acknowledgements

Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star